2019-01-19 15:31:26 +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>
|
|
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>com.zlt</groupId>
|
|
|
|
|
<artifactId>zlt-web</artifactId>
|
2019-09-25 12:43:33 +08:00
|
|
|
<version>2.7.1</version>
|
2019-01-19 15:31:26 +08:00
|
|
|
</parent>
|
|
|
|
|
<artifactId>back-web</artifactId>
|
|
|
|
|
<description>后台管理前端</description>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2019-02-27 14:35:28 +08:00
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<imageName>${docker.image.prefix}/${project.artifactId}</imageName>
|
|
|
|
|
<imageTags>
|
|
|
|
|
<imageTag>${project.version}</imageTag>
|
|
|
|
|
<imageTag>latest</imageTag>
|
|
|
|
|
</imageTags>
|
|
|
|
|
<forceTags>true</forceTags>
|
|
|
|
|
<baseImage>${docker.baseImage}</baseImage>
|
|
|
|
|
<volumes>${docker.volumes}</volumes>
|
|
|
|
|
<env>
|
|
|
|
|
<JAVA_OPTS>${docker.java.opts}</JAVA_OPTS>
|
|
|
|
|
</env>
|
2019-03-23 11:23:06 +08:00
|
|
|
<entryPoint>["sh","-c","java $JAVA_OPTS ${docker.java.security.egd} -jar /${project.build.finalName}.jar"]</entryPoint>
|
2019-02-27 14:35:28 +08:00
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<targetPath>/</targetPath>
|
|
|
|
|
<directory>${project.build.directory}</directory>
|
|
|
|
|
<include>${project.build.finalName}.jar</include>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2019-01-19 15:31:26 +08:00
|
|
|
</plugins>
|
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
|
</build>
|
|
|
|
|
</project>
|