<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.7.10</version>
    <relativePath></relativePath>
  </parent>
  <groupId>cn.fanzy.breeze</groupId>
  <artifactId>breeze-spring-cloud</artifactId>
  <version>2.2.3</version>
  <packaging>pom</packaging>
  <description>A set of highly available components for SpringBoot 2.x.</description>
  <licenses>
    <license>
      <name>Apache License 2.0</name>
      <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
    </license>
  </licenses>
  <developers>
    <developer>
      <name>fanzaiyang</name>
      <email>zaiyangnihao@163.com</email>
    </developer>
  </developers>
  <modules>
    <module>breeze-core</module>
    <module>breeze-web-spring-boot-starter</module>
    <module>breeze-minio-spring-boot-starter</module>
    <module>breeze-auth-spring-boot-starter</module>
    <module>breeze-sqltoy-spring-boot-starter</module>
    <module>breeze-wechat</module>
    <module>breeze-mybatis-plus-spring-boot-starter</module>
    <module>breeze-admin-spring-boot-starter</module>
    <module>breeze-auth-jwt-spring-boot-starter</module>
    <module>breeze-auth-redis</module>
    <module>breeze-spring-cloud-dependencies</module>
  </modules>
  <scm>
    <connection>scm:git:https://github.com/fanzaiyang/breeze-spring-cloud.git</connection>
    <developerConnection>scm:git:https://github.com/fanzaiyang/breeze-spring-cloud.git</developerConnection>
    <url>https://github.com/fanzaiyang/breeze-spring-cloud.git</url>
  </scm>
  <distributionManagement>
    <repository>
      <id>ossrh</id>
      <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
    </repository>
    <snapshotRepository>
      <id>ossrh</id>
      <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
    </snapshotRepository>
  </distributionManagement>
  <properties>
    <spring-cloud-alibaba.version>2021.0.4.0</spring-cloud-alibaba.version>
    <hutool.version>5.8.12</hutool.version>
    <java.version>8</java.version>
    <spring-boot.version>2.7.7</spring-boot.version>
    <maven.compiler.target>8</maven.compiler.target>
    <spring-cloud.version>2021.0.5</spring-cloud.version>
    <spring-boot-admin.version>2.7.9</spring-boot-admin.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <revision>2.2.3</revision>
    <satoken.version>1.34.0</satoken.version>
    <maven.compiler.source>8</maven.compiler.source>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>com.alibaba.cloud</groupId>
        <artifactId>spring-cloud-alibaba-dependencies</artifactId>
        <version>${spring-cloud-alibaba.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-dependencies</artifactId>
        <version>${spring-cloud.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>de.codecentric</groupId>
        <artifactId>spring-boot-admin-dependencies</artifactId>
        <version>${spring-boot-admin.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>cn.fanzy.breeze</groupId>
        <artifactId>breeze-core</artifactId>
        <version>2.2.3</version>
      </dependency>
      <dependency>
        <groupId>cn.fanzy.breeze</groupId>
        <artifactId>breeze-auth-redis</artifactId>
        <version>2.2.3</version>
      </dependency>
      <dependency>
        <groupId>cn.fanzy.breeze</groupId>
        <artifactId>breeze-web-spring-boot-starter</artifactId>
        <version>2.2.3</version>
      </dependency>
      <dependency>
        <groupId>cn.fanzy.breeze</groupId>
        <artifactId>breeze-minio-spring-boot-starter</artifactId>
        <version>2.2.3</version>
      </dependency>
      <dependency>
        <groupId>cn.fanzy.breeze</groupId>
        <artifactId>breeze-auth-spring-boot-starter</artifactId>
        <version>2.2.3</version>
      </dependency>
      <dependency>
        <groupId>cn.fanzy.breeze</groupId>
        <artifactId>breeze-auth-jwt-spring-boot-starter</artifactId>
        <version>2.2.3</version>
      </dependency>
      <dependency>
        <groupId>cn.fanzy.breeze</groupId>
        <artifactId>breeze-sqltoy-spring-boot-starter</artifactId>
        <version>2.2.3</version>
      </dependency>
      <dependency>
        <groupId>cn.fanzy.breeze</groupId>
        <artifactId>breeze-admin-spring-boot-starter</artifactId>
        <version>2.2.3</version>
      </dependency>
      <dependency>
        <groupId>cn.fanzy.breeze</groupId>
        <artifactId>breeze-mybatis-plus-spring-boot-starter</artifactId>
        <version>2.2.3</version>
      </dependency>
      <dependency>
        <groupId>cn.fanzy.breeze</groupId>
        <artifactId>breeze-wechat</artifactId>
        <version>2.2.3</version>
      </dependency>
      <dependency>
        <groupId>cn.fanzy.breeze</groupId>
        <artifactId>breeze-wechat-cp-spring-boot-starter</artifactId>
        <version>2.2.3</version>
      </dependency>
      <dependency>
        <groupId>cn.fanzy.breeze</groupId>
        <artifactId>breeze-wechat-ma-spring-boot-starter</artifactId>
        <version>2.2.3</version>
      </dependency>
      <dependency>
        <groupId>cn.fanzy.breeze</groupId>
        <artifactId>breeze-wechat-mp-spring-boot-starter</artifactId>
        <version>2.2.3</version>
      </dependency>
      <dependency>
        <groupId>cn.fanzy.breeze</groupId>
        <artifactId>breeze-wechat-pay-spring-boot-starter</artifactId>
        <version>2.2.3</version>
      </dependency>
      <dependency>
        <groupId>cn.fanzy.breeze</groupId>
        <artifactId>breeze-spring-cloud-dependencies</artifactId>
        <version>2.2.3</version>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter</artifactId>
    </dependency>
    <dependency>
      <groupId>org.projectlombok</groupId>
      <artifactId>lombok</artifactId>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-configuration-processor</artifactId>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-test</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <profiles>
    <profile>
      <id>deploy-maven</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-deploy-plugin</artifactId>
          </plugin>
          <plugin>
            <artifactId>maven-source-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-javadocs</id>
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
            <configuration>
              <failOnError>false</failOnError>
              <doclint>none</doclint>
            </configuration>
          </plugin>
          <plugin>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>1.5</version>
            <executions>
              <execution>
                <id>sign-artifacts</id>
                <phase>verify</phase>
                <goals>
                  <goal>sign</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>flatten-maven-plugin</artifactId>
            <version>1.2.7</version>
            <executions>
              <execution>
                <id>flatten</id>
                <phase>process-resources</phase>
                <goals>
                  <goal>flatten</goal>
                </goals>
              </execution>
              <execution>
                <id>flatten.clean</id>
                <phase>clean</phase>
                <goals>
                  <goal>clean</goal>
                </goals>
              </execution>
            </executions>
            <configuration>
              <updatePomFile>true</updatePomFile>
              <flattenMode>resolveCiFriendliesOnly</flattenMode>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
