1 changed files with 622 additions and 0 deletions
@ -0,0 +1,622 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" |
|||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|||
<modelVersion>4.0.0</modelVersion> |
|||
|
|||
<groupId>com.gy.pgcm</groupId> |
|||
<artifactId>gy-pgcm</artifactId> |
|||
<version>1.0-SNAPSHOT</version> |
|||
<packaging>pom</packaging> |
|||
|
|||
<!-- Inherit defaults from Spring Boot --> |
|||
<parent> |
|||
<groupId>org.springframework.boot</groupId> |
|||
<artifactId>spring-boot-starter-parent</artifactId> |
|||
<version>2.1.14.RELEASE</version> |
|||
</parent> |
|||
|
|||
<modules> |
|||
<module>pgcm</module> |
|||
<module>amg-common</module> |
|||
<module>amg-code-generator</module> |
|||
<module>amg-flowable</module> |
|||
<module>amg-tool</module> |
|||
<module>amg-flowable-ui</module> |
|||
<module>data-migration</module> |
|||
<module>data-kingdee-webservice</module> |
|||
</modules> |
|||
|
|||
<repositories> |
|||
<!-- ali repository --> |
|||
<repository> |
|||
<id>maven-ali</id> |
|||
<url>http://maven.aliyun.com/nexus/content/groups/public/</url> |
|||
<releases> |
|||
<enabled>true</enabled> |
|||
</releases> |
|||
<snapshots> |
|||
<enabled>false</enabled> |
|||
<updatePolicy>always</updatePolicy> |
|||
<checksumPolicy>fail</checksumPolicy> |
|||
</snapshots> |
|||
</repository> |
|||
</repositories> |
|||
|
|||
<properties> |
|||
<java.version>1.8</java.version> |
|||
|
|||
<!-- 模块依赖版本 --> |
|||
<amg-common.version>${project.version}</amg-common.version> |
|||
<amg-code-generator.version>${project.version}</amg-code-generator.version> |
|||
<amg-flowable.version>${project.version}</amg-flowable.version> |
|||
<amg-tool.version>${project.version}</amg-tool.version> |
|||
<data-kingdee-webservice.version>${project.version}</data-kingdee-webservice.version> |
|||
|
|||
<!-- 第三方依赖版本 --> |
|||
<spring-boot.version>2.1.14.RELEASE</spring-boot.version> |
|||
<jwt.version>3.8.1</jwt.version> |
|||
<casbin-spring-boot-starter.version>0.0.9</casbin-spring-boot-starter.version> |
|||
<springfox.version>2.9.2</springfox.version> |
|||
<fastjson.version>1.2.58</fastjson.version> |
|||
<mybatis-plus.version>3.1.2</mybatis-plus.version> |
|||
<reflections.version>0.9.11</reflections.version> |
|||
<commons-lang3.version>3.9</commons-lang3.version> |
|||
<commons-compress.version>1.19</commons-compress.version> |
|||
<commons-beanutils.version>1.9.4</commons-beanutils.version> |
|||
<commons-collections4.version>4.4</commons-collections4.version> |
|||
<commons-io.version>2.6</commons-io.version> |
|||
<jmh.version>1.21</jmh.version> |
|||
<redisson.version>3.12.5</redisson.version> |
|||
<commons-validator.version>1.6</commons-validator.version> |
|||
<feign.version>10.4.0</feign.version> |
|||
<resilience4j.version>1.1.0</resilience4j.version> |
|||
<flowable.version>6.4.2</flowable.version> |
|||
<canal.client.version>1.1.4</canal.client.version> |
|||
<h2.version>1.4.199</h2.version> |
|||
<mysql.version>5.1.48</mysql.version> |
|||
<liquibase.version>3.8.5</liquibase.version> |
|||
<junit-jupiter.version>5.5.2</junit-jupiter.version> |
|||
<mime-util.version>2.1.3</mime-util.version> |
|||
<hutool-core.version>5.2.5</hutool-core.version> |
|||
<swagger.version>1.5.24</swagger.version> |
|||
<mysql-binlog-connector-java.version>0.23.1</mysql-binlog-connector-java.version> |
|||
|
|||
<!-- tools --> |
|||
<docx4j-JAXB-Internal.version>8.1.6</docx4j-JAXB-Internal.version> |
|||
<docx4j-export-fo.version>8.1.6</docx4j-export-fo.version> |
|||
<jxls.version>2.8.0</jxls.version> |
|||
<jxls-jexcel.version>1.0.9</jxls-jexcel.version> |
|||
<jxls-reader.version>1.0.6</jxls-reader.version> |
|||
<aliyun-java-sdk-core.version>4.5.0</aliyun-java-sdk-core.version> |
|||
<tencentcloud-sdk-java.version>3.1.12</tencentcloud-sdk-java.version> |
|||
<aliyun-sdk-oss.version>3.5.0</aliyun-sdk-oss.version> |
|||
<qcloud-sdk-cos.version>5.6.19</qcloud-sdk-cos.version> |
|||
<qiniu-java-sdk.version>7.2.3</qiniu-java-sdk.version> |
|||
<aws-java-sdk.version>1.11.618</aws-java-sdk.version> |
|||
<azure-storage.version>8.4.0</azure-storage.version> |
|||
<weixin-java-miniapp.version>3.5.0</weixin-java-miniapp.version> |
|||
|
|||
<!-- build --> |
|||
<jib-maven-plugin.version>2.4.0</jib-maven-plugin.version> |
|||
<git-commit-id-plugin.version>4.0.0</git-commit-id-plugin.version> |
|||
</properties> |
|||
|
|||
<dependencyManagement> |
|||
<dependencies> |
|||
<!-- 模块依赖 --> |
|||
<dependency> |
|||
<groupId>cn.bespinglobal.amg</groupId> |
|||
<artifactId>amg-common</artifactId> |
|||
<version>${amg-common.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>cn.bespinglobal.amg</groupId> |
|||
<artifactId>amg-code-generator</artifactId> |
|||
<version>${amg-code-generator.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>cn.bespinglobal.amg</groupId> |
|||
<artifactId>amg-flowable</artifactId> |
|||
<version>${amg-flowable.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>cn.bespinglobal.amg</groupId> |
|||
<artifactId>amg-tool-all</artifactId> |
|||
<version>${amg-tool.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>com.gy.pgcm</groupId> |
|||
<artifactId>data-kingdee-webservice</artifactId> |
|||
<version>${data-kingdee-webservice.version}</version> |
|||
</dependency> |
|||
|
|||
<!-- 第三方依赖 --> |
|||
<!-- jwt --> |
|||
<dependency> |
|||
<groupId>com.auth0</groupId> |
|||
<artifactId>java-jwt</artifactId> |
|||
<version>${jwt.version}</version> |
|||
</dependency> |
|||
|
|||
<!-- casbin --> |
|||
<dependency> |
|||
<groupId>org.casbin</groupId> |
|||
<artifactId>casbin-spring-boot-starter</artifactId> |
|||
<version>${casbin-spring-boot-starter.version}</version> |
|||
<exclusions> |
|||
<exclusion> |
|||
<artifactId>h2</artifactId> |
|||
<groupId>com.h2database</groupId> |
|||
</exclusion> |
|||
</exclusions> |
|||
</dependency> |
|||
|
|||
<!-- mybatis-plus --> |
|||
<dependency> |
|||
<groupId>com.baomidou</groupId> |
|||
<artifactId>mybatis-plus-boot-starter</artifactId> |
|||
<version>${mybatis-plus.version}</version> |
|||
</dependency> |
|||
<!-- Mybatis Plus代码生成依赖 --> |
|||
<dependency> |
|||
<groupId>com.baomidou</groupId> |
|||
<artifactId>mybatis-plus-generator</artifactId> |
|||
<version>${mybatis-plus.version}</version> |
|||
</dependency> |
|||
|
|||
<!-- swagger --> |
|||
<dependency> |
|||
<groupId>io.swagger</groupId> |
|||
<artifactId>swagger-models</artifactId> |
|||
<version>${swagger.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>io.swagger</groupId> |
|||
<artifactId>swagger-annotations</artifactId> |
|||
<version>${swagger.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>io.springfox</groupId> |
|||
<artifactId>springfox-swagger2</artifactId> |
|||
<version>${springfox.version}</version> |
|||
<exclusions> |
|||
<!-- 使用新版swagger-models解决API生成问题 --> |
|||
<exclusion> |
|||
<groupId>io.swagger</groupId> |
|||
<artifactId>swagger-models</artifactId> |
|||
</exclusion> |
|||
<exclusion> |
|||
<groupId>io.swagger</groupId> |
|||
<artifactId>swagger-annotations</artifactId> |
|||
</exclusion> |
|||
</exclusions> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>io.springfox</groupId> |
|||
<artifactId>springfox-swagger-ui</artifactId> |
|||
<version>${springfox.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>io.springfox</groupId> |
|||
<artifactId>springfox-bean-validators</artifactId> |
|||
<version>${springfox.version}</version> |
|||
</dependency> |
|||
|
|||
<!-- fastjson --> |
|||
<dependency> |
|||
<groupId>com.alibaba</groupId> |
|||
<artifactId>fastjson</artifactId> |
|||
<version>${fastjson.version}</version> |
|||
</dependency> |
|||
|
|||
<!-- reflection --> |
|||
<dependency> |
|||
<groupId>org.reflections</groupId> |
|||
<artifactId>reflections</artifactId> |
|||
<version>${reflections.version}</version> |
|||
</dependency> |
|||
|
|||
<!-- 缓存 --> |
|||
<dependency> |
|||
<groupId>org.redisson</groupId> |
|||
<artifactId>redisson-spring-boot-starter</artifactId> |
|||
<version>${redisson.version}</version> |
|||
<exclusions> |
|||
<exclusion> |
|||
<groupId>org.redisson</groupId> |
|||
<artifactId>redisson-spring-data-22</artifactId> |
|||
</exclusion> |
|||
</exclusions> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>org.redisson</groupId> |
|||
<artifactId>redisson-spring-data-21</artifactId> |
|||
<version>${redisson.version}</version> |
|||
</dependency> |
|||
|
|||
<!-- apache commons --> |
|||
<dependency> |
|||
<groupId>org.apache.commons</groupId> |
|||
<artifactId>commons-lang3</artifactId> |
|||
<version>${commons-lang3.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>org.apache.commons</groupId> |
|||
<artifactId>commons-compress</artifactId> |
|||
<version>${commons-compress.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>commons-beanutils</groupId> |
|||
<artifactId>commons-beanutils</artifactId> |
|||
<version>${commons-beanutils.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>org.apache.commons</groupId> |
|||
<artifactId>commons-collections4</artifactId> |
|||
<version>${commons-collections4.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>commons-io</groupId> |
|||
<artifactId>commons-io</artifactId> |
|||
<version>${commons-io.version}</version> |
|||
</dependency> |
|||
|
|||
<!-- 阿里canal中间件 --> |
|||
<dependency> |
|||
<groupId>com.alibaba.otter</groupId> |
|||
<artifactId>canal.client</artifactId> |
|||
<version>${canal.client.version}</version> |
|||
<exclusions> |
|||
<exclusion> |
|||
<artifactId>logback-classic</artifactId> |
|||
<groupId>ch.qos.logback</groupId> |
|||
</exclusion> |
|||
<exclusion> |
|||
<artifactId>logback-core</artifactId> |
|||
<groupId>ch.qos.logback</groupId> |
|||
</exclusion> |
|||
<exclusion> |
|||
<artifactId>rocketmq-acl</artifactId> |
|||
<groupId>org.apache.rocketmq</groupId> |
|||
</exclusion> |
|||
<exclusion> |
|||
<artifactId>rocketmq-client</artifactId> |
|||
<groupId>org.apache.rocketmq</groupId> |
|||
</exclusion> |
|||
<exclusion> |
|||
<artifactId>zkclient</artifactId> |
|||
<groupId>com.101tec</groupId> |
|||
</exclusion> |
|||
<exclusion> |
|||
<artifactId>zookeeper</artifactId> |
|||
<groupId>org.apache.zookeeper</groupId> |
|||
</exclusion> |
|||
</exclusions> |
|||
</dependency> |
|||
|
|||
<dependency> |
|||
<groupId>com.zendesk</groupId> |
|||
<artifactId>mysql-binlog-connector-java</artifactId> |
|||
<version>${mysql-binlog-connector-java.version}</version> |
|||
</dependency> |
|||
|
|||
<!-- 校验 --> |
|||
<dependency> |
|||
<groupId>commons-validator</groupId> |
|||
<artifactId>commons-validator</artifactId> |
|||
<version>${commons-validator.version}</version> |
|||
<exclusions> |
|||
<exclusion> |
|||
<artifactId>commons-logging</artifactId> |
|||
<groupId>commons-logging</groupId> |
|||
</exclusion> |
|||
</exclusions> |
|||
</dependency> |
|||
|
|||
<!-- API调用 --> |
|||
<dependency> |
|||
<groupId>io.github.openfeign</groupId> |
|||
<artifactId>feign-core</artifactId> |
|||
<version>${feign.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>io.github.openfeign</groupId> |
|||
<artifactId>feign-okhttp</artifactId> |
|||
<version>${feign.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>io.github.openfeign</groupId> |
|||
<artifactId>feign-jackson</artifactId> |
|||
<version>${feign.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>io.github.resilience4j</groupId> |
|||
<artifactId>resilience4j-feign</artifactId> |
|||
<version>${resilience4j.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>io.github.resilience4j</groupId> |
|||
<artifactId>resilience4j-spring-boot2</artifactId> |
|||
<version>${resilience4j.version}</version> |
|||
</dependency> |
|||
|
|||
<!-- 工作流 --> |
|||
<dependency> |
|||
<groupId>org.flowable</groupId> |
|||
<artifactId>flowable-spring-boot-starter</artifactId> |
|||
<version>${flowable.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>org.flowable</groupId> |
|||
<artifactId>flowable-spring-boot-starter-process</artifactId> |
|||
<version>${flowable.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>org.flowable</groupId> |
|||
<artifactId>flowable-spring-boot-starter-process-rest</artifactId> |
|||
<version>${flowable.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>org.flowable</groupId> |
|||
<artifactId>flowable-engine-common</artifactId> |
|||
<version>${flowable.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>org.flowable</groupId> |
|||
<artifactId>flowable-ui-modeler-conf</artifactId> |
|||
<version>${flowable.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>org.flowable</groupId> |
|||
<artifactId>flowable-rest</artifactId> |
|||
<version>${flowable.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>org.flowable</groupId> |
|||
<artifactId>flowable-common-rest</artifactId> |
|||
<version>${flowable.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>org.flowable</groupId> |
|||
<artifactId>flowable-json-converter</artifactId> |
|||
<version>${flowable.version}</version> |
|||
</dependency> |
|||
|
|||
<!-- 测试相关 --> |
|||
<dependency> |
|||
<groupId>org.springframework.boot</groupId> |
|||
<artifactId>spring-boot-starter-test</artifactId> |
|||
<version>${spring-boot.version}</version> |
|||
<exclusions> |
|||
<exclusion> |
|||
<groupId>junit</groupId> |
|||
<artifactId>junit</artifactId> |
|||
</exclusion> |
|||
</exclusions> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>org.openjdk.jmh</groupId> |
|||
<artifactId>jmh-core</artifactId> |
|||
<version>${jmh.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>org.openjdk.jmh</groupId> |
|||
<artifactId>jmh-generator-annprocess</artifactId> |
|||
<version>${jmh.version}</version> |
|||
<scope>provided</scope> |
|||
</dependency> |
|||
|
|||
<dependency> |
|||
<groupId>eu.medsea.mimeutil</groupId> |
|||
<artifactId>mime-util</artifactId> |
|||
<version>${mime-util.version}</version> |
|||
<exclusions> |
|||
<exclusion> |
|||
<artifactId>slf4j-log4j12</artifactId> |
|||
<groupId>org.slf4j</groupId> |
|||
</exclusion> |
|||
<exclusion> |
|||
<groupId>log4j</groupId> |
|||
<artifactId>log4j</artifactId> |
|||
</exclusion> |
|||
</exclusions> |
|||
</dependency> |
|||
|
|||
<dependency> |
|||
<groupId>cn.hutool</groupId> |
|||
<artifactId>hutool-core</artifactId> |
|||
<version>${hutool-core.version}</version> |
|||
</dependency> |
|||
|
|||
<!-- docx4j --> |
|||
<!-- use the JAXB shipped in Java 8 --> |
|||
<dependency> |
|||
<groupId>org.docx4j</groupId> |
|||
<artifactId>docx4j-JAXB-Internal</artifactId> |
|||
<version>${docx4j-JAXB-Internal.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>org.docx4j</groupId> |
|||
<artifactId>docx4j-export-fo</artifactId> |
|||
<version>${docx4j-export-fo.version}</version> |
|||
</dependency> |
|||
|
|||
<!-- jxls --> |
|||
<dependency> |
|||
<groupId>org.jxls</groupId> |
|||
<artifactId>jxls</artifactId> |
|||
<version>${jxls.version}</version> |
|||
<exclusions> |
|||
<exclusion> |
|||
<artifactId>commons-logging</artifactId> |
|||
<groupId>commons-logging</groupId> |
|||
</exclusion> |
|||
<exclusion> |
|||
<artifactId>logback-core</artifactId> |
|||
<groupId>ch.qos.logback</groupId> |
|||
</exclusion> |
|||
</exclusions> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>org.jxls</groupId> |
|||
<artifactId>jxls-poi</artifactId> |
|||
<version>${jxls.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>org.jxls</groupId> |
|||
<artifactId>jxls-jexcel</artifactId> |
|||
<version>${jxls-jexcel.version}</version> |
|||
<exclusions> |
|||
<exclusion> |
|||
<artifactId>log4j</artifactId> |
|||
<groupId>log4j</groupId> |
|||
</exclusion> |
|||
</exclusions> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>net.sf.jxls</groupId> |
|||
<artifactId>jxls-reader</artifactId> |
|||
<version>${jxls-reader.version}</version> |
|||
<exclusions> |
|||
<exclusion> |
|||
<artifactId>commons-logging</artifactId> |
|||
<groupId>commons-logging</groupId> |
|||
</exclusion> |
|||
</exclusions> |
|||
</dependency> |
|||
|
|||
<!-- cloud sms --> |
|||
<dependency> |
|||
<groupId>com.aliyun</groupId> |
|||
<artifactId>aliyun-java-sdk-core</artifactId> |
|||
<version>${aliyun-java-sdk-core.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>com.tencentcloudapi</groupId> |
|||
<artifactId>tencentcloud-sdk-java</artifactId> |
|||
<version>${tencentcloud-sdk-java.version}</version> |
|||
</dependency> |
|||
|
|||
<!-- cloud storage --> |
|||
<dependency> |
|||
<groupId>com.aliyun.oss</groupId> |
|||
<artifactId>aliyun-sdk-oss</artifactId> |
|||
<version>${aliyun-sdk-oss.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>com.qcloud</groupId> |
|||
<artifactId>cos_api</artifactId> |
|||
<version>${qcloud-sdk-cos.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>com.qiniu</groupId> |
|||
<artifactId>qiniu-java-sdk</artifactId> |
|||
<version>${qiniu-java-sdk.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>com.amazonaws</groupId> |
|||
<artifactId>aws-java-sdk-s3</artifactId> |
|||
<version>${aws-java-sdk.version}</version> |
|||
<exclusions> |
|||
<exclusion> |
|||
<artifactId>commons-logging</artifactId> |
|||
<groupId>commons-logging</groupId> |
|||
</exclusion> |
|||
</exclusions> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>com.amazonaws</groupId> |
|||
<artifactId>aws-java-sdk-dynamodb</artifactId> |
|||
<version>${aws-java-sdk.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>com.microsoft.azure</groupId> |
|||
<artifactId>azure-storage</artifactId> |
|||
<version>${azure-storage.version}</version> |
|||
</dependency> |
|||
<dependency> |
|||
<groupId>com.github.binarywang</groupId> |
|||
<artifactId>weixin-java-miniapp</artifactId> |
|||
<version>${weixin-java-miniapp.version}</version> |
|||
</dependency> |
|||
|
|||
</dependencies> |
|||
</dependencyManagement> |
|||
|
|||
<build> |
|||
<pluginManagement> |
|||
<plugins> |
|||
<plugin> |
|||
<groupId>org.springframework.boot</groupId> |
|||
<artifactId>spring-boot-maven-plugin</artifactId> |
|||
<configuration> |
|||
<excludes> |
|||
<!-- 移除代码生成jar --> |
|||
<exclude> |
|||
<groupId>org.projectlombok</groupId> |
|||
<artifactId>lombok</artifactId> |
|||
</exclude> |
|||
</excludes> |
|||
<!-- 指定fat jar classifier --> |
|||
<classifier>exec</classifier> |
|||
<mainClass>com.gy.pgcm.PgcmApplication</mainClass> |
|||
</configuration> |
|||
<executions> |
|||
<execution> |
|||
<goals> |
|||
<goal>repackage</goal> |
|||
</goals> |
|||
</execution> |
|||
</executions> |
|||
</plugin> |
|||
<plugin> |
|||
<groupId>org.liquibase</groupId> |
|||
<artifactId>liquibase-maven-plugin</artifactId> |
|||
<version>${liquibase.version}</version> |
|||
</plugin> |
|||
<plugin> |
|||
<groupId>com.google.cloud.tools</groupId> |
|||
<artifactId>jib-maven-plugin</artifactId> |
|||
<version>${jib-maven-plugin.version}</version> |
|||
<configuration> |
|||
<skip>true</skip> |
|||
</configuration> |
|||
</plugin> |
|||
<plugin> |
|||
<groupId>pl.project13.maven</groupId> |
|||
<artifactId>git-commit-id-plugin</artifactId> |
|||
<version>${git-commit-id-plugin.version}</version> |
|||
<executions> |
|||
<execution> |
|||
<id>get-the-git-infos</id> |
|||
<goals> |
|||
<goal>revision</goal> |
|||
</goals> |
|||
<phase>initialize</phase> |
|||
</execution> |
|||
</executions> |
|||
<configuration> |
|||
<generateGitPropertiesFile>true</generateGitPropertiesFile> |
|||
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename> |
|||
<includeOnlyProperties> |
|||
<includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> |
|||
<includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> |
|||
</includeOnlyProperties> |
|||
<commitIdGenerationMode>full</commitIdGenerationMode> |
|||
</configuration> |
|||
</plugin> |
|||
</plugins> |
|||
</pluginManagement> |
|||
|
|||
<plugins> |
|||
<plugin> |
|||
<!-- 添加Git Commit记录 --> |
|||
<groupId>pl.project13.maven</groupId> |
|||
<artifactId>git-commit-id-plugin</artifactId> |
|||
</plugin> |
|||
</plugins> |
|||
|
|||
</build> |
|||
|
|||
</project> |
Loading…
Reference in new issue