<?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-barcode</artifactId> <version>1.0-SNAPSHOT</version> </dependency> <dependency> <groupId>com.cnbm</groupId> <artifactId>ym-basic</artifactId> <version>1.0-SNAPSHOT</version> </dependency> <dependency> <groupId>com.cnbm</groupId> <artifactId>ym-schedule-task</artifactId> <version>1.0-SNAPSHOT</version> </dependency> <dependency> <groupId>com.cnbm</groupId> <artifactId>ym-websocket</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> </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>