You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
534 lines
20 KiB
534 lines
20 KiB
|
4 weeks ago
|
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
|
|
<modelVersion>4.0.0</modelVersion>
|
||
|
|
<parent>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||
|
|
<version>3.2.12</version>
|
||
|
|
<relativePath/> <!-- lookup parent from repository -->
|
||
|
|
</parent>
|
||
|
|
<groupId>com.techsor</groupId>
|
||
|
|
<artifactId>TECHSOR_dataCenter_sender</artifactId>
|
||
|
|
<version>0.0.1-SNAPSHOT</version>
|
||
|
|
<name>TECHSOR_dataCenter_sender</name>
|
||
|
|
<description>Demo project for Spring Boot</description>
|
||
|
|
<properties>
|
||
|
|
<java.version>17</java.version>
|
||
|
|
<aws.ecr.registry>381659385655.dkr.ecr.ap-northeast-1.amazonaws.com</aws.ecr.registry>
|
||
|
|
<aws.ecr.registryTest>923770123186.dkr.ecr.ap-northeast-1.amazonaws.com</aws.ecr.registryTest>
|
||
|
|
<aws.ecr.repository>tokyo-build-sender</aws.ecr.repository>
|
||
|
|
</properties>
|
||
|
|
<dependencyManagement>
|
||
|
|
<dependencies>
|
||
|
|
<dependency>
|
||
|
|
<groupId>software.amazon.awssdk</groupId>
|
||
|
|
<artifactId>bom</artifactId>
|
||
|
|
<version>2.20.113</version>
|
||
|
|
<type>pom</type>
|
||
|
|
<scope>import</scope>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>software.amazon.awssdk</groupId>
|
||
|
|
<artifactId>services</artifactId>
|
||
|
|
<version>2.20.113</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>software.amazon.kinesis</groupId>
|
||
|
|
<artifactId>amazon-kinesis-client-pom</artifactId>
|
||
|
|
<version>3.1.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>io.netty</groupId>
|
||
|
|
<artifactId>netty-common</artifactId>
|
||
|
|
<version>4.2.2.Final</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>io.netty</groupId>
|
||
|
|
<artifactId>netty-buffer</artifactId>
|
||
|
|
<version>4.2.2.Final</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>io.netty</groupId>
|
||
|
|
<artifactId>netty-resolver</artifactId>
|
||
|
|
<version>4.2.2.Final</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>io.netty</groupId>
|
||
|
|
<artifactId>netty-transport</artifactId>
|
||
|
|
<version>4.2.2.Final</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>io.netty</groupId>
|
||
|
|
<artifactId>netty-transport-native-unix-common</artifactId>
|
||
|
|
<version>4.2.2.Final</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>io.netty</groupId>
|
||
|
|
<artifactId>netty-codec-base</artifactId>
|
||
|
|
<version>4.2.2.Final</version>
|
||
|
|
</dependency>
|
||
|
|
</dependencies>
|
||
|
|
</dependencyManagement>
|
||
|
|
<dependencies>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
|
<exclusions>
|
||
|
|
<exclusion>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-logging</artifactId>
|
||
|
|
</exclusion>
|
||
|
|
<exclusion>
|
||
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
||
|
|
<artifactId>tomcat-embed-core</artifactId>
|
||
|
|
</exclusion>
|
||
|
|
</exclusions>
|
||
|
|
</dependency>
|
||
|
|
<!-- https://mvnrepository.com/artifact/org.apache.tomcat.embed/tomcat-embed-core -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
||
|
|
<artifactId>tomcat-embed-core</artifactId>
|
||
|
|
<version>10.1.42</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
||
|
|
<scope>test</scope>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||
|
|
<version>2.5.4</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-integration</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.integration</groupId>
|
||
|
|
<artifactId>spring-integration-redis</artifactId>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.lmax</groupId>
|
||
|
|
<artifactId>disruptor</artifactId>
|
||
|
|
<version>3.3.6</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.mysql</groupId>
|
||
|
|
<artifactId>mysql-connector-j</artifactId>
|
||
|
|
<version>9.3.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.projectlombok</groupId>
|
||
|
|
<artifactId>lombok</artifactId>
|
||
|
|
<optional>true</optional>
|
||
|
|
</dependency>
|
||
|
|
<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.google.code.gson</groupId>
|
||
|
|
<artifactId>gson</artifactId>
|
||
|
|
<version>2.13.1</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- JSON等格式的转义和反转义 -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.commons</groupId>
|
||
|
|
<artifactId>commons-text</artifactId>
|
||
|
|
<version>1.13.1</version>
|
||
|
|
</dependency>
|
||
|
|
<!--<dependency>
|
||
|
|
<groupId>net.sf.json-lib</groupId>
|
||
|
|
<artifactId>json-lib</artifactId>
|
||
|
|
<version>2.4</version>
|
||
|
|
<classifier>jdk15</classifier>
|
||
|
|
</dependency>-->
|
||
|
|
<!-- https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2 -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
||
|
|
<artifactId>fastjson2</artifactId>
|
||
|
|
<version>2.0.57</version>
|
||
|
|
</dependency>
|
||
|
|
<!-- DBM Godzilla-->
|
||
|
|
<dependency>
|
||
|
|
<groupId>godzilla</groupId>
|
||
|
|
<artifactId>godzilla</artifactId>
|
||
|
|
<version>1.6.0</version>
|
||
|
|
<scope>system</scope>
|
||
|
|
<systemPath>${project.basedir}/src/libs/godzilla-sdk-1.6.0.jar</systemPath>
|
||
|
|
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.slf4j</groupId>
|
||
|
|
<artifactId>slf4j-api</artifactId>
|
||
|
|
<version>2.0.17</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.slf4j</groupId>
|
||
|
|
<artifactId>jul-to-slf4j</artifactId>
|
||
|
|
<version>1.7.7</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.slf4j</groupId>
|
||
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
||
|
|
<version>1.7.7</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.slf4j</groupId>
|
||
|
|
<artifactId>log4j-over-slf4j</artifactId>
|
||
|
|
<version>1.7.7</version>
|
||
|
|
</dependency>
|
||
|
|
<!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>ch.qos.logback</groupId>
|
||
|
|
<artifactId>logback-classic</artifactId>
|
||
|
|
<version>1.5.18</version>
|
||
|
|
<scope>compile</scope>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>ch.qos.logback</groupId>
|
||
|
|
<artifactId>logback-core</artifactId>
|
||
|
|
<version>1.5.18</version>
|
||
|
|
<scope>compile</scope>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.java-websocket</groupId>
|
||
|
|
<artifactId>Java-WebSocket</artifactId>
|
||
|
|
<version>1.5.0</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.squareup.okhttp3</groupId>
|
||
|
|
<artifactId>okhttp</artifactId>
|
||
|
|
<version>4.12.0</version>
|
||
|
|
</dependency>
|
||
|
|
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-pool2 -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.commons</groupId>
|
||
|
|
<artifactId>commons-pool2</artifactId>
|
||
|
|
<version>2.11.1</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.mockito</groupId>
|
||
|
|
<artifactId>mockito-core</artifactId>
|
||
|
|
<version>4.11.0</version>
|
||
|
|
<scope>test</scope>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>cn.hutool</groupId>
|
||
|
|
<artifactId>hutool-all</artifactId>
|
||
|
|
<version>5.8.38</version>
|
||
|
|
</dependency>
|
||
|
|
<!-- https://mvnrepository.com/artifact/com.jayway.jsonpath/json-path -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.jayway.jsonpath</groupId>
|
||
|
|
<artifactId>json-path</artifactId>
|
||
|
|
<version>2.9.0</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-dynamodb -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.amazonaws</groupId>
|
||
|
|
<artifactId>aws-java-sdk-dynamodb</artifactId>
|
||
|
|
<version>1.12.701</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.mvel</groupId>
|
||
|
|
<artifactId>mvel2</artifactId>
|
||
|
|
<version>2.4.12.Final</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.junit.vintage</groupId>
|
||
|
|
<artifactId>junit-vintage-engine</artifactId>
|
||
|
|
<version>5.8.2</version>
|
||
|
|
<scope>test</scope>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>net.bytebuddy</groupId>
|
||
|
|
<artifactId>byte-buddy</artifactId>
|
||
|
|
<version>1.8.16</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>net.bytebuddy</groupId>
|
||
|
|
<artifactId>byte-buddy-agent</artifactId>
|
||
|
|
<version>1.8.16</version>
|
||
|
|
<scope>test</scope>
|
||
|
|
</dependency>
|
||
|
|
<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.google.guava</groupId>
|
||
|
|
<artifactId>guava</artifactId>
|
||
|
|
<version>33.4.8-jre</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.eclipse.paho</groupId>
|
||
|
|
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
|
||
|
|
<version>1.2.5</version>
|
||
|
|
</dependency>
|
||
|
|
<!-- https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk18on -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.bouncycastle</groupId>
|
||
|
|
<artifactId>bcprov-jdk18on</artifactId>
|
||
|
|
<version>1.81</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>commons-io</groupId>
|
||
|
|
<artifactId>commons-io</artifactId>
|
||
|
|
<version>2.19.0</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
|
||
|
|
<!-- <!– https://mvnrepository.com/artifact/software.amazon.awssdk/dynamodb –>-->
|
||
|
|
<!-- <dependency>-->
|
||
|
|
<!-- <groupId>software.amazon.awssdk</groupId>-->
|
||
|
|
<!-- <artifactId>dynamodb</artifactId>-->
|
||
|
|
<!-- <version>2.25.31</version>-->
|
||
|
|
<!-- </dependency>-->
|
||
|
|
<!-- https://mvnrepository.com/artifact/javax.mail/mail -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>javax.mail</groupId>
|
||
|
|
<artifactId>mail</artifactId>
|
||
|
|
<version>1.4.7</version>
|
||
|
|
</dependency>
|
||
|
|
<!-- https://mvnrepository.com/artifact/com.amazonaws/amazon-kinesis-producer -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.amazonaws</groupId>
|
||
|
|
<artifactId>amazon-kinesis-producer</artifactId>
|
||
|
|
<version>0.15.10</version>
|
||
|
|
<exclusions>
|
||
|
|
<exclusion>
|
||
|
|
<groupId>org.apache.kafka</groupId>
|
||
|
|
<artifactId>kafka-clients</artifactId>
|
||
|
|
</exclusion>
|
||
|
|
</exclusions>
|
||
|
|
</dependency>
|
||
|
|
<!-- https://mvnrepository.com/artifact/org.apache.kafka/kafka-clients -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.kafka</groupId>
|
||
|
|
<artifactId>kafka-clients</artifactId>
|
||
|
|
<version>4.0.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>software.amazon.awssdk</groupId>
|
||
|
|
<artifactId>kinesis</artifactId>
|
||
|
|
</dependency>
|
||
|
|
<!-- https://mvnrepository.com/artifact/software.amazon.kinesis/amazon-kinesis-client -->
|
||
|
|
<!-- https://mvnrepository.com/artifact/software.amazon.kinesis/amazon-kinesis-client -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>software.amazon.kinesis</groupId>
|
||
|
|
<artifactId>amazon-kinesis-client</artifactId>
|
||
|
|
<version>3.0.3</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.amazonaws</groupId>
|
||
|
|
<artifactId>aws-java-sdk-kinesis</artifactId>
|
||
|
|
<version>1.12.681</version> <!-- 请检查最新版本 -->
|
||
|
|
</dependency>
|
||
|
|
<!-- https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-core -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.amazonaws</groupId>
|
||
|
|
<artifactId>aws-java-sdk-core</artifactId>
|
||
|
|
<version>1.12.681</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.yaml</groupId>
|
||
|
|
<artifactId>snakeyaml</artifactId>
|
||
|
|
<version>2.4</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- https://mvnrepository.com/artifact/org.json/json -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.json</groupId>
|
||
|
|
<artifactId>json</artifactId>
|
||
|
|
<version>20250517</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- https://mvnrepository.com/artifact/net.bytebuddy/byte-buddy -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>net.bytebuddy</groupId>
|
||
|
|
<artifactId>byte-buddy</artifactId>
|
||
|
|
<version>1.17.5</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- log4j -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.logging.log4j</groupId>
|
||
|
|
<artifactId>log4j-core</artifactId>
|
||
|
|
<version>2.24.3</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.logging.log4j</groupId>
|
||
|
|
<artifactId>log4j-api</artifactId>
|
||
|
|
<version>2.24.3</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- https://mvnrepository.com/artifact/net.minidev/json-smart -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>net.minidev</groupId>
|
||
|
|
<artifactId>json-smart</artifactId>
|
||
|
|
<version>2.5.2</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.google.protobuf</groupId>
|
||
|
|
<artifactId>protobuf-java</artifactId>
|
||
|
|
<version>4.31.1</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-compress -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.commons</groupId>
|
||
|
|
<artifactId>commons-compress</artifactId>
|
||
|
|
<version>1.27.1</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- https://mvnrepository.com/artifact/com.squareup.wire/wire-compiler -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.squareup.wire</groupId>
|
||
|
|
<artifactId>wire-compiler</artifactId>
|
||
|
|
<version>5.2.1</version>
|
||
|
|
<scope>runtime</scope>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- https://mvnrepository.com/artifact/com.squareup.wire/wire-schema -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.squareup.wire</groupId>
|
||
|
|
<artifactId>wire-schema</artifactId>
|
||
|
|
<version>5.2.1</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- https://mvnrepository.com/artifact/org.apache.avro/avro -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.avro</groupId>
|
||
|
|
<artifactId>avro</artifactId>
|
||
|
|
<version>1.12.0</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- https://mvnrepository.com/artifact/io.netty/netty-handler -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>io.netty</groupId>
|
||
|
|
<artifactId>netty-handler</artifactId>
|
||
|
|
<version>4.2.2.Final</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- https://mvnrepository.com/artifact/org.springframework/spring-context -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework</groupId>
|
||
|
|
<artifactId>spring-context</artifactId>
|
||
|
|
<version>6.1.21</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- https://mvnrepository.com/artifact/org.springframework/spring-context-support -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework</groupId>
|
||
|
|
<artifactId>spring-context-support</artifactId>
|
||
|
|
<version>6.1.21</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- https://mvnrepository.com/artifact/com.github.seratch/jslack -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.github.seratch</groupId>
|
||
|
|
<artifactId>jslack</artifactId>
|
||
|
|
<version>3.4.2</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
</dependencies>
|
||
|
|
|
||
|
|
<build>
|
||
|
|
<finalName>data-center-sender</finalName>
|
||
|
|
<plugins>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
|
|
</plugin>
|
||
|
|
<!-- https://mvnrepository.com/artifact/pl.project13.maven/git-commit-id-plugin -->
|
||
|
|
<plugin>
|
||
|
|
<groupId>pl.project13.maven</groupId>
|
||
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
||
|
|
<version>4.9.10</version>
|
||
|
|
<executions>
|
||
|
|
<execution>
|
||
|
|
<goals>
|
||
|
|
<goal>revision</goal>
|
||
|
|
</goals>
|
||
|
|
</execution>
|
||
|
|
</executions>
|
||
|
|
<configuration>
|
||
|
|
<verbose>true</verbose>
|
||
|
|
<dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
|
||
|
|
<generateGitPropertiesFile>true</generateGitPropertiesFile>
|
||
|
|
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
|
||
|
|
<!--<!– 正式环境 –>-->
|
||
|
|
<!-- <plugin>-->
|
||
|
|
<!-- <groupId>io.fabric8</groupId>-->
|
||
|
|
<!-- <artifactId>docker-maven-plugin</artifactId>-->
|
||
|
|
<!-- <version>0.38.1</version>-->
|
||
|
|
<!-- <configuration>-->
|
||
|
|
<!-- <authConfig>-->
|
||
|
|
<!-- <username>AKIAVRXFMB43TOELSROK</username>-->
|
||
|
|
<!-- <password>GYxb5qzuYeEuXLj9/kW9FJB05c2oAu7Cw7j82pLS</password>-->
|
||
|
|
<!-- </authConfig>-->
|
||
|
|
<!-- <images>-->
|
||
|
|
<!-- <image>-->
|
||
|
|
<!-- <name>${aws.ecr.registry}/${aws.ecr.repository}:latest</name>-->
|
||
|
|
<!-- <registry>${aws.ecr.registry}</registry>-->
|
||
|
|
<!-- <build>-->
|
||
|
|
<!-- <dockerFile>${project.basedir}/Dockerfile</dockerFile>-->
|
||
|
|
<!-- </build>-->
|
||
|
|
<!-- </image>-->
|
||
|
|
<!-- </images>-->
|
||
|
|
<!-- </configuration>-->
|
||
|
|
<!-- </plugin>-->
|
||
|
|
<!-- 测试环境 -->
|
||
|
|
<plugin>
|
||
|
|
<groupId>io.fabric8</groupId>
|
||
|
|
<artifactId>docker-maven-plugin</artifactId>
|
||
|
|
<version>0.38.1</version>
|
||
|
|
<configuration>
|
||
|
|
<authConfig>
|
||
|
|
<username>AKIA5OFH5OOZPCXZIRUQ</username>
|
||
|
|
<password>TMIN27+OxamT1FmBQSVKfUIWpOVldhxQx2Stxwix</password>
|
||
|
|
</authConfig>
|
||
|
|
<images>
|
||
|
|
<image>
|
||
|
|
<name>${aws.ecr.registryTest}/${aws.ecr.repository}:latest</name>
|
||
|
|
<registry>${aws.ecr.registry}</registry>
|
||
|
|
<build>
|
||
|
|
<dockerFile>${project.basedir}/Dockerfile</dockerFile>
|
||
|
|
</build>
|
||
|
|
</image>
|
||
|
|
</images>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
|
||
|
|
|
||
|
|
</plugins>
|
||
|
|
|
||
|
|
</build>
|
||
|
|
|
||
|
|
</project>
|