👷 引入扁平化打包插件

This commit is contained in:
b2baccline
2020-05-22 11:58:17 +08:00
parent 0d8ba12c14
commit f006d5cb72
3 changed files with 58 additions and 1 deletions

27
pom.xml
View File

@@ -68,7 +68,7 @@
<dependency>
<groupId>com.hccake</groupId>
<artifactId>ballcat-dependencies</artifactId>
<version>${project.version}</version>
<version>${revision}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
@@ -153,6 +153,31 @@
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.1.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>