2023-12-08 10:58:24 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2024-03-01 08:00:02 +00:00
|
|
|
<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">
|
2023-12-08 10:58:24 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
<groupId>com.gzzn.omms</groupId>
|
|
|
|
|
<artifactId>msgexchange-api</artifactId>
|
|
|
|
|
<version>1.2.1-SNAPSHOT</version>
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
|
|
<name>msgexchange-api</name>
|
|
|
|
|
<description>msg exchange service</description>
|
|
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
|
<version>1.5.17.RELEASE</version>
|
2024-03-01 08:00:02 +00:00
|
|
|
<relativePath/>
|
|
|
|
|
<!-- lookup parent from repository -->
|
2023-12-08 10:58:24 +08:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
|
<spring-cloud.version>Edgware.SR5</spring-cloud.version>
|
|
|
|
|
<m2e.apt.activation>jdt_apt</m2e.apt.activation>
|
|
|
|
|
<org.mapstruct.version>1.3.0.Final</org.mapstruct.version>
|
2024-02-20 16:02:10 +08:00
|
|
|
<springfox.version>2.7.0</springfox.version>
|
2024-03-01 06:01:28 +00:00
|
|
|
<maven.version>3.9.6</maven.version>
|
2023-12-08 10:58:24 +08:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<scm>
|
|
|
|
|
<developerConnection>scm:git:git@git.int.it2000.com.cn:airport-chengdu/msgexchange-api.git</developerConnection>
|
|
|
|
|
<tag>HEAD</tag>
|
|
|
|
|
</scm>
|
|
|
|
|
<dependencies>
|
2024-02-24 10:12:22 +00:00
|
|
|
|
|
|
|
|
|
2023-12-08 10:58:24 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.kafka</groupId>
|
|
|
|
|
<artifactId>spring-kafka</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
|
|
|
<artifactId>jackson-dataformat-xml</artifactId>
|
2024-02-20 08:05:24 +00:00
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.fasterxml.woodstox</groupId>
|
|
|
|
|
<artifactId>woodstox-core</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
|
|
|
<artifactId>stax2-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
2024-02-20 09:49:41 +00:00
|
|
|
<!-- <dependency>
|
2024-02-20 08:05:24 +00:00
|
|
|
<groupId>com.fasterxml.woodstox</groupId>
|
|
|
|
|
<artifactId>woodstox-core</artifactId>
|
|
|
|
|
<version>5.1.0</version>
|
2024-02-20 09:49:41 +00:00
|
|
|
</dependency> -->
|
2024-02-20 08:05:24 +00:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
|
|
|
<artifactId>stax2-api</artifactId>
|
|
|
|
|
<version>4.1</version>
|
2023-12-08 10:58:24 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
2024-03-01 08:00:02 +00:00
|
|
|
<!-- java 17 build-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>jakarta.xml.bind</groupId>
|
|
|
|
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
|
|
|
|
<version>2.3.3</version>
|
|
|
|
|
</dependency>
|
2023-12-08 10:58:24 +08:00
|
|
|
|
2024-02-24 10:12:22 +00:00
|
|
|
<!-- <dependency>
|
2023-12-08 10:58:24 +08:00
|
|
|
<groupId>com.fasterxml.woodstox</groupId>
|
|
|
|
|
<artifactId>woodstox-core</artifactId>
|
2024-02-20 09:49:41 +00:00
|
|
|
<version>5.4.0</version>
|
2024-02-24 10:12:22 +00:00
|
|
|
</dependency> -->
|
2023-12-08 10:58:24 +08:00
|
|
|
|
2024-03-01 08:00:02 +00:00
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>com.oracle</groupId>-->
|
|
|
|
|
<!-- <artifactId>ojdbc6</artifactId>-->
|
|
|
|
|
<!-- <version>11.2.0.3</version>-->
|
|
|
|
|
<!-- <scope>system</scope>-->
|
|
|
|
|
<!-- <systemPath>${project.basedir}/src/main/resources/libs/ojdbc6-11.2.0.3.jar</systemPath>-->
|
|
|
|
|
<!-- </dependency>-->
|
2023-12-08 10:58:24 +08:00
|
|
|
<dependency>
|
2024-02-26 17:16:27 +08:00
|
|
|
<groupId>com.oracle.database.jdbc</groupId>
|
2023-12-08 10:58:24 +08:00
|
|
|
<artifactId>ojdbc6</artifactId>
|
2024-02-26 17:16:27 +08:00
|
|
|
<version>11.2.0.4</version>
|
2023-12-08 10:58:24 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
|
<artifactId>springfox-swagger2</artifactId>
|
2024-02-20 16:02:10 +08:00
|
|
|
<version>${springfox.version}</version>
|
2023-12-08 10:58:24 +08:00
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
|
<artifactId>mapstruct</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
2024-02-20 16:02:10 +08:00
|
|
|
<version>${springfox.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
|
<artifactId>log4j-core</artifactId>
|
2023-12-08 10:58:24 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
2024-02-26 09:50:37 +08:00
|
|
|
<!-- <dependency>
|
2023-12-08 10:58:24 +08:00
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
2024-02-26 09:50:37 +08:00
|
|
|
</dependency> -->
|
2023-12-08 10:58:24 +08:00
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.logstash.logback</groupId>
|
|
|
|
|
<artifactId>logstash-logback-encoder</artifactId>
|
|
|
|
|
<version>5.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.elasticsearch/elasticsearch -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
|
|
|
|
<version>6.4.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.elasticsearch.client/transport -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.elasticsearch.client</groupId>
|
|
|
|
|
<artifactId>transport</artifactId>
|
|
|
|
|
<version>6.4.2</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- fastjson -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
|
<version>1.2.15</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-eureka</artifactId>
|
2024-02-20 08:05:24 +00:00
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
|
|
|
<artifactId>stax2-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
2024-02-24 10:12:22 +00:00
|
|
|
<!--dependency>
|
2024-02-20 08:05:24 +00:00
|
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
|
|
|
<artifactId>stax2-api</artifactId>
|
|
|
|
|
<version>4.1</version>
|
2024-02-24 10:12:22 +00:00
|
|
|
</dependency-->
|
2023-12-08 10:58:24 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
|
<artifactId>mapstruct</artifactId>
|
|
|
|
|
<version>${org.mapstruct.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
|
<version>4.5.10</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2024-02-23 02:41:37 +00:00
|
|
|
<!--jdk 17 compile -->
|
|
|
|
|
<dependency>
|
2024-03-01 08:00:02 +00:00
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
|
<version>2.3.0</version>
|
|
|
|
|
</dependency>
|
2024-02-23 02:41:37 +00:00
|
|
|
|
2023-12-08 10:58:24 +08:00
|
|
|
</dependencies>
|
2024-03-01 08:00:02 +00:00
|
|
|
|
2023-12-08 10:58:24 +08:00
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
2026-09-02 20:10:00 +08:00
|
|
|
<!--plugin>
|
2024-02-24 10:12:22 +00:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
<configuration>
|
2024-03-01 09:19:45 +00:00
|
|
|
<mainClass>com.gzzn.omms.msgexchangeapi.MsgexchangeApiApplication</mainClass>
|
|
|
|
|
</configuration>
|
2026-09-02 20:10:00 +08:00
|
|
|
</plugin-->
|
2023-12-08 10:58:24 +08:00
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2024-02-23 02:41:37 +00:00
|
|
|
<version>3.12.1</version>
|
2024-03-01 08:00:02 +00:00
|
|
|
|
2023-12-08 10:58:24 +08:00
|
|
|
<configuration>
|
2024-02-26 17:16:27 +08:00
|
|
|
<verbose>false</verbose>
|
2024-02-23 09:40:04 +00:00
|
|
|
<fork>true</fork>
|
2023-12-08 10:58:24 +08:00
|
|
|
<source>1.8</source>
|
|
|
|
|
<target>1.8</target>
|
|
|
|
|
<annotationProcessorPaths>
|
|
|
|
|
<path>
|
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
|
<artifactId>mapstruct-processor</artifactId>
|
|
|
|
|
<version>${org.mapstruct.version}</version>
|
|
|
|
|
</path>
|
|
|
|
|
</annotationProcessorPaths>
|
2024-02-23 09:40:04 +00:00
|
|
|
<compilerArgs>
|
|
|
|
|
<arg>-Xlint:all,-options,-path</arg>
|
|
|
|
|
</compilerArgs>
|
2023-12-08 10:58:24 +08:00
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
<configuration>
|
2024-03-06 01:47:29 +00:00
|
|
|
<layers>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
<configuration>${project.basedir}/src/layers.xml</configuration>
|
|
|
|
|
</layers>
|
2023-12-08 10:58:24 +08:00
|
|
|
</configuration>
|
2024-03-06 01:47:29 +00:00
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
2023-12-08 10:58:24 +08:00
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
|
<artifactId>dockerfile-maven-plugin</artifactId>
|
|
|
|
|
<version>1.4.10</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<username>gzzn</username>
|
|
|
|
|
<password>Gzzn@2018</password>
|
|
|
|
|
<!-- 镜像tag -->
|
|
|
|
|
<tag>${project.version}</tag>
|
|
|
|
|
|
|
|
|
|
<!--useMavenSettingsForAuth>true</useMavenSettingsForAuth -->
|
|
|
|
|
<!-- 禁止使用谷歌商店认证 -->
|
|
|
|
|
<googleContainerRegistryEnabled>false</googleContainerRegistryEnabled>
|
|
|
|
|
|
|
|
|
|
<repository>130.120.3.193/${project.groupId}/${project.artifactId}</repository>
|
|
|
|
|
<buildArgs>
|
|
|
|
|
<JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
|
|
|
|
|
</buildArgs>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
|
<version>2.5.3</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>lib</directory>
|
|
|
|
|
<targetPath>BOOT-INF/lib</targetPath>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>**/*.jar</include>
|
|
|
|
|
</includes>
|
|
|
|
|
</resource>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
2024-02-24 10:12:22 +00:00
|
|
|
<extensions>
|
2026-09-02 20:10:00 +08:00
|
|
|
<!--extension>
|
2024-03-01 08:00:02 +00:00
|
|
|
<groupId>org.apache.maven.extensions</groupId>
|
|
|
|
|
<artifactId>maven-build-cache-extension</artifactId>
|
|
|
|
|
<version>1.1.0</version>
|
2026-09-02 20:10:00 +08:00
|
|
|
</extension-->
|
2024-02-24 10:12:22 +00:00
|
|
|
</extensions>
|
2023-12-08 10:58:24 +08:00
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
|
<version>${spring-cloud.version}</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</dependencyManagement>
|
|
|
|
|
</project>
|