116 lines
4.6 KiB
XML
116 lines
4.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<artifactId>polardbx-cdc</artifactId>
|
|
<groupId>com.aliyun.polardbx</groupId>
|
|
<version>5.4.15-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>polardbx-cdc-assemble</artifactId>
|
|
|
|
<properties>
|
|
<license.dir>${project.parent.basedir}</license.dir>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.aliyun.polardbx</groupId>
|
|
<artifactId>polardbx-cdc-storage</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aliyun.polardbx</groupId>
|
|
<artifactId>polardbx-cdc-common</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aliyun.polardbx</groupId>
|
|
<artifactId>polardbx-cdc-daemon</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aliyun.polardbx</groupId>
|
|
<artifactId>polardbx-cdc-dumper</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.aliyun.polardbx</groupId>
|
|
<artifactId>polardbx-cdc-task</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>polardbx-binlog</finalName>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>pl.project13.maven</groupId>
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
<version>4.0.5</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>revision</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<verbose>false</verbose>
|
|
<dateFormat>yyyy-MM-dd HH:mm:ssZ</dateFormat>
|
|
<generateGitPropertiesFile>true</generateGitPropertiesFile>
|
|
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties
|
|
</generateGitPropertiesFilename>
|
|
<!--git描述配置,可选;由JGit提供实现;-->
|
|
<gitDescribe>
|
|
<!--是否生成描述属性-->
|
|
<skip>false</skip>
|
|
<!--提交操作未发现tag时,仅打印提交操作ID,-->
|
|
<always>false</always>
|
|
<!--提交操作ID显式字符长度,最大值为:40;默认值:7;
|
|
0代表特殊意义;后面有解释;
|
|
-->
|
|
<abbrev>7</abbrev>
|
|
<!--构建触发时,代码有修改时(即"dirty state"),添加指定后缀;默认值:"";-->
|
|
<dirty>-dirty</dirty>
|
|
<!--always print using the "tag-commits_from_tag-g_commit_id-maybe_dirty" format, even if "on" a tag.
|
|
The distance will always be 0 if you're "on" the tag.
|
|
-->
|
|
<forceLongFormat>false</forceLongFormat>
|
|
</gitDescribe>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<addMavenDescriptor>true</addMavenDescriptor>
|
|
</archive>
|
|
<excludes>
|
|
<exclude>**/logback.xml</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>assembly.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|