<?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>com.gitee.Jmysy</groupId>
  <artifactId>binlog4j</artifactId>
  <version>1.9.1</version>
  <packaging>pom</packaging>
  <name>binlog4j</name>
  <description>binlog4j</description>
  <url>https://gitee.com/Jmysy/binlog4j</url>
  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
    </license>
  </licenses>
  <developers>
    <developer>
      <id>Bai</id>
      <name>就眠儀式</name>
      <email>854085467@qq.com</email>
      <url>https://gitee.com/Jmysy/binlog4j</url>
      <timezone>+8</timezone>
    </developer>
  </developers>
  <modules>
    <module>binlog4j-core</module>
    <module>binlog4j-expansion</module>
    <module>binlog4j-spring-boot-starter</module>
    <module>binlog4j-spring-boot-starter-example</module>
  </modules>
  <scm>
    <connection>scm:git:https://gitee.com/Jmysy/binlog4j.git</connection>
    <developerConnection>scm:git:https://gitee.com/Jmysy/binlog4j.git</developerConnection>
    <url>https://gitee.com/Jmysy/binlog4j</url>
  </scm>
  <distributionManagement>
    <repository>
      <id>ossrh</id>
      <url>https://s01.oss.sonatype.org/content/repositories/releases</url>
    </repository>
    <snapshotRepository>
      <id>ossrh</id>
      <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
    </snapshotRepository>
  </distributionManagement>
  <properties>
    <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
    <maven.compiler.source>1.8</maven.compiler.source>
    <jedis.version>4.4.3</jedis.version>
    <HikariCP.version>4.0.3</HikariCP.version>
    <spring.boot.version>2.7.14</spring.boot.version>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <revision>1.9.1</revision>
    <lombok.version>1.18.20</lombok.version>
    <maven.compiler.target>1.8</maven.compiler.target>
    <mysql.binlog.version>0.28.0</mysql.binlog.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <fastjson.version>1.2.83</fastjson.version>
    <redisson.version>3.23.3</redisson.version>
    <mysql.version>8.0.33</mysql.version>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>com.gitee.Jmysy</groupId>
        <artifactId>binlog4j-core</artifactId>
        <version>1.9.1</version>
      </dependency>
      <dependency>
        <groupId>com.gitee.Jmysy</groupId>
        <artifactId>binlog4j-spring-boot-starter</artifactId>
        <version>1.9.1</version>
      </dependency>
      <dependency>
        <groupId>com.alibaba</groupId>
        <artifactId>fastjson</artifactId>
        <version>${fastjson.version}</version>
      </dependency>
      <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-dependencies</artifactId>
        <version>${spring.boot.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>com.zendesk</groupId>
        <artifactId>mysql-binlog-connector-java</artifactId>
        <version>${mysql.binlog.version}</version>
      </dependency>
      <dependency>
        <groupId>com.zaxxer</groupId>
        <artifactId>HikariCP</artifactId>
        <version>${HikariCP.version}</version>
      </dependency>
      <dependency>
        <groupId>redis.clients</groupId>
        <artifactId>jedis</artifactId>
        <version>${jedis.version}</version>
      </dependency>
      <dependency>
        <groupId>org.redisson</groupId>
        <artifactId>redisson</artifactId>
        <version>${redisson.version}</version>
      </dependency>
      <dependency>
        <groupId>mysql</groupId>
        <artifactId>mysql-connector-java</artifactId>
        <version>${mysql.version}</version>
        <scope>runtime</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.projectlombok</groupId>
      <artifactId>lombok</artifactId>
      <version>${lombok.version}</version>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>flatten-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>flatten</id>
            <phase>process-resources</phase>
            <goals>
              <goal>flatten</goal>
            </goals>
            <configuration>
              <updatePomFile>true</updatePomFile>
              <flattenMode>resolveCiFriendliesOnly</flattenMode>
            </configuration>
          </execution>
          <execution>
            <id>flatten.clean</id>
            <phase>clean</phase>
            <goals>
              <goal>clean</goal>
            </goals>
          </execution>
        </executions>
        <inherited>true</inherited>
        <configuration>
          <updatePomFile>true</updatePomFile>
          <flattenMode>resolveCiFriendliesOnly</flattenMode>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
