2018-10-22 16:17:08 +08:00
|
|
|
<?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.gzzn.omms</groupId>
|
|
|
|
|
<artifactId>admin-api</artifactId>
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
|
|
<name>admin-api</name>
|
|
|
|
|
<description>Admin Api project for CdAirPort </description>
|
|
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
|
<version>1.5.17.RELEASE</version>
|
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
|
<org.mapstruct.version>1.2.0.Final</org.mapstruct.version>
|
|
|
|
|
<m2e.apt.activation>jdt_apt</m2e.apt.activation>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<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>mysql</groupId>
|
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
2018-11-04 14:48:22 +08:00
|
|
|
<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>
|
|
|
|
|
|
2018-10-22 16:17:08 +08:00
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.logstash.logback</groupId>
|
|
|
|
|
<artifactId>logstash-logback-encoder</artifactId>
|
|
|
|
|
<version>5.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2018-10-29 18:31:38 +08:00
|
|
|
|
2018-10-30 13:29:24 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
|
|
|
<version>2.7.0</version>
|
2018-10-30 15:44:03 +08:00
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
|
<artifactId>mapstruct</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
2018-10-30 13:29:24 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
|
|
|
<version>2.7.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
|
|
|
<artifactId>swagger-bootstrap-ui</artifactId>
|
|
|
|
|
<version>1.8.5</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2018-10-30 15:44:03 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
|
<artifactId>mapstruct-jdk8</artifactId>
|
|
|
|
|
<version>${org.mapstruct.version}</version>
|
|
|
|
|
</dependency>
|
2018-10-30 13:29:24 +08:00
|
|
|
|
2018-10-29 18:31:38 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
|
|
<optional>true</optional> <!-- 这个需要为 true 热部署才有效 -->
|
|
|
|
|
</dependency>
|
2018-11-27 17:59:24 +08:00
|
|
|
|
|
|
|
|
<!-- 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>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
<version>1.16.20</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- fastjson -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
|
<version>1.2.15</version>
|
|
|
|
|
</dependency>
|
2018-10-22 16:17:08 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
<version>3.5.1</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<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>
|
|
|
|
|
<compilerArgs>
|
|
|
|
|
<arg>-verbose</arg>
|
|
|
|
|
<arg>-Xlint:unchecked</arg>
|
|
|
|
|
<arg>-Xlint:deprecation</arg>
|
|
|
|
|
<arg>-bootclasspath</arg>
|
|
|
|
|
<arg>${env.JAVA_HOME}/jre/lib/rt.jar</arg>
|
|
|
|
|
<arg>-extdirs</arg>
|
|
|
|
|
<arg>${project.basedir}/lib</arg>
|
|
|
|
|
</compilerArgs>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
2018-11-04 14:48:22 +08:00
|
|
|
<configuration>
|
|
|
|
|
<includeSystemScope>true</includeSystemScope>
|
|
|
|
|
</configuration>
|
2018-10-22 16:17:08 +08:00
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
|
<artifactId>dockerfile-maven-plugin</artifactId>
|
|
|
|
|
<version>1.4.4</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>
|
|
|
|
|
</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>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|