146 lignes
5.3 KiB
XML
146 lignes
5.3 KiB
XML
<?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">
|
|
<parent>
|
|
<artifactId>ym-pass</artifactId>
|
|
<groupId>com.cnbm</groupId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>ym-gateway</artifactId>
|
|
|
|
<properties>
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.cnbm</groupId>
|
|
<artifactId>ym-common</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.cnbm</groupId>
|
|
<artifactId>ym-admin</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.cnbm</groupId>
|
|
<artifactId>ym-baisc</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.cnbm</groupId>
|
|
<artifactId>ym-influx</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.cnbm</groupId>
|
|
<artifactId>ym-quality-planning</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.cnbm</groupId>
|
|
<artifactId>ym-process-inspection</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
<!-- <artifactId>spring-boot-actuator-autoconfigure</artifactId>-->
|
|
<!-- <version>2.7.0</version>-->
|
|
<!-- <optional>true</optional>-->
|
|
<!-- <exclusions>-->
|
|
<!-- <exclusion>-->
|
|
<!-- <groupId>com.fasterxml.jackson.core</groupId>-->
|
|
<!-- <artifactId>jackson-databind</artifactId>-->
|
|
<!-- </exclusion>-->
|
|
<!-- </exclusions>-->
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
<dependency>
|
|
<groupId>com.cnbm</groupId>
|
|
<artifactId>ym-schedule-task</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-boot-starter</artifactId>
|
|
<version>3.0.0</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-models</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-models</artifactId>
|
|
<version>1.5.21</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>2.5.12</version>
|
|
<configuration>
|
|
<!--指定运行main函数的包-->
|
|
<mainClass>com.cnbm.YmApplication</mainClass>
|
|
<!--开启分层编译支持-->
|
|
<layers>
|
|
<enabled>true</enabled>
|
|
<configuration>${project.basedir}/src/main/resources/layers.xml</configuration>
|
|
</layers>
|
|
<excludes>
|
|
<exclude>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.spotify</groupId>
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
<version>${docker.plugin.version}</version>
|
|
<configuration>
|
|
<imageName>ym-pass/${project.artifactId}</imageName>
|
|
<dockerDirectory>${project.basedir}/</dockerDirectory>
|
|
<resources>
|
|
<resource>
|
|
<targetPath>/</targetPath>
|
|
<directory>${project.build.directory}</directory>
|
|
<include>${project.build.finalName}.jar</include>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |