maven plugin update

This commit is contained in:
thinkgem
2022-04-30 11:16:47 +08:00
parent 554e9cea74
commit 21bf3bc06c
3 changed files with 73 additions and 92 deletions

View File

@@ -90,23 +90,13 @@
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>
<!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
</plugin> -->
<!-- 打包插件, war包名称不带版本号 -->
<!-- war插件war包名称不带版本号 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<!-- <packagingExcludes></packagingExcludes>
<warSourceExcludes></warSourceExcludes> -->
<webappDirectory>${project.build.directory}/${project.artifactId}</webappDirectory>
<warName>${finalName}</warName>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
</plugin>