<?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>
  <groupId>io.gitee.sikadai</groupId>
  <artifactId>sika-sharding-sphere-plus</artifactId>
  <version>4.0.1</version>
  <packaging>pom</packaging>
  <name>sika-sharding-sphere-plus</name>
  <description>ShardingSphere plus plugin</description>
  <url>https://gitee.com/sikadai/sika-sharding-sphere-plus</url>
  <licenses>
    <license>
      <name>MIT License</name>
      <url>http://www.opensource.org/licenses/mit-license.php</url>
    </license>
  </licenses>
  <developers>
    <developer>
      <name>SikaDai</name>
      <email>466608943@qq.com</email>
      <url>https://gitee.com/sikadai</url>
    </developer>
  </developers>
  <modules>
    <module>sika-sharding-sphere-plus-core</module>
    <module>sika-sharding-sphere-plus-springboot</module>
    <module>sika-sharding-sphere-plus-spring</module>
    <module>sika-sharding-sphere-plus-demo</module>
  </modules>
  <scm>
    <connection>https://gitee.com/sikadai/sika-sharding-sphere-plus.git</connection>
    <developerConnection>https://gitee.com/sikadai</developerConnection>
    <url>https://gitee.com/sikadai/sika-sharding-sphere-plus</url>
  </scm>
  <properties>
    <jm.build.jvmSize>1024m</jm.build.jvmSize>
    <dep.javax.servlet-api.version>3.1.0</dep.javax.servlet-api.version>
    <lombok.version>1.18.22</lombok.version>
    <snakeyaml.version>1.33</snakeyaml.version>
    <hutool-version>5.8.9</hutool-version>
    <spring-cloud-dependencies.version>2021.0.3</spring-cloud-dependencies.version>
    <commons-collections4.version>4.4</commons-collections4.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <revision>4.0.1</revision>
    <jm.maven.version>3.0.7</jm.maven.version>
    <spring-boot-dependencies.version>2.7.15</spring-boot-dependencies.version>
    <shardingsphere.version>5.2.1</shardingsphere.version>
    <spring.cloud.alibaba.version>2.2.3.RELEASE</spring.cloud.alibaba.version>
    <mybatis-plus-boot-starter.version>3.5.3.2</mybatis-plus-boot-starter.version>
    <java.version>1.8</java.version>
    <slf4j.version>1.7.32</slf4j.version>
    <project.build.targetJdk>1.8</project.build.targetJdk>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <bytebuddy.version>1.12.19</bytebuddy.version>
    <liteflow.version>2.8.4</liteflow.version>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>io.gitee.sikadai</groupId>
        <artifactId>sika-sharding-sphere-plus-core</artifactId>
        <version>${version}</version>
      </dependency>
      <dependency>
        <groupId>io.gitee.sikadai</groupId>
        <artifactId>sika-sharding-sphere-plus-spring</artifactId>
        <version>${version}</version>
      </dependency>
      <dependency>
        <groupId>io.gitee.sikadai</groupId>
        <artifactId>sika-sharding-sphere-plus-demo</artifactId>
        <version>${version}</version>
      </dependency>
      <dependency>
        <groupId>io.gitee.sikadai</groupId>
        <artifactId>sika-sharding-sphere-plus-springboot</artifactId>
        <version>${version}</version>
      </dependency>
      <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-dependencies</artifactId>
        <version>${spring-boot-dependencies.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-dependencies</artifactId>
        <version>${spring-cloud-dependencies.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <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.yaml</groupId>
        <artifactId>snakeyaml</artifactId>
        <version>${snakeyaml.version}</version>
      </dependency>
      <dependency>
        <groupId>cn.hutool</groupId>
        <artifactId>hutool-core</artifactId>
        <version>${hutool-version}</version>
      </dependency>
      <dependency>
        <groupId>org.projectlombok</groupId>
        <artifactId>lombok</artifactId>
        <version>${lombok.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.shardingsphere</groupId>
        <artifactId>shardingsphere-jdbc-core</artifactId>
        <version>${shardingsphere.version}</version>
      </dependency>
      <dependency>
        <groupId>com.baomidou</groupId>
        <artifactId>mybatis-plus-boot-starter</artifactId>
        <version>${mybatis-plus-boot-starter.version}</version>
      </dependency>
      <dependency>
        <groupId>org.mybatis</groupId>
        <artifactId>mybatis-spring</artifactId>
        <version>2.1.1</version>
      </dependency>
      <dependency>
        <groupId>com.baomidou</groupId>
        <artifactId>mybatis-plus</artifactId>
        <version>3.5.3.2</version>
      </dependency>
      <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-collections4</artifactId>
        <version>${commons-collections4.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.shardingsphere</groupId>
        <artifactId>shardingsphere-jdbc-core-spring-boot-starter</artifactId>
        <version>${shardingsphere.version}</version>
        <exclusions>
          <exclusion>
            <artifactId>shardingsphere-db-discovery-spring-boot-starter</artifactId>
            <groupId>org.apache.shardingsphere</groupId>
          </exclusion>
          <exclusion>
            <artifactId>shardingsphere-db-discovery-core</artifactId>
            <groupId>org.apache.shardingsphere</groupId>
          </exclusion>
          <exclusion>
            <artifactId>shardingsphere-data-pipeline-core</artifactId>
            <groupId>org.apache.shardingsphere</groupId>
          </exclusion>
        </exclusions>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <repositories>
    <repository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>spring-release</id>
      <name>Spring release</name>
      <url>https://repo.spring.io/release/</url>
    </repository>
    <repository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>repo1</id>
      <name>repo1</name>
      <url>https://repo1.maven.org/maven2/</url>
    </repository>
  </repositories>
  <profiles>
    <profile>
      <id>release</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.sonatype.plugins</groupId>
            <artifactId>nexus-staging-maven-plugin</artifactId>
            <version>1.6.7</version>
            <extensions>true</extensions>
            <configuration>
              <serverId>ossrh</serverId>
              <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
              <autoReleaseAfterClose>true</autoReleaseAfterClose>
            </configuration>
          </plugin>
          <plugin>
            <artifactId>maven-source-plugin</artifactId>
            <version>2.2.1</version>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <goal>jar-no-fork</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>2.9.1</version>
            <executions>
              <execution>
                <id>attach-javadocs</id>
                <goals>
                  <goal>jar</goal>
                </goals>
              </execution>
            </executions>
            <configuration>
              <additionalJOptions>
                <additionalJOption>-Xdoclint:none</additionalJOption>
              </additionalJOptions>
            </configuration>
          </plugin>
          <plugin>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>1.6</version>
            <executions>
              <execution>
                <id>ossrh</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>
      <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>
    </profile>
  </profiles>
</project>
