打包为zip和tar.gz包

This commit is contained in:
陈精华
2019-04-08 18:24:48 +08:00
committed by kl
parent 3dd6609fd6
commit 0fb02e3ccb
6 changed files with 52 additions and 1 deletions

View File

@ -170,6 +170,24 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/resources/assembly.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>