maven plugin update

This commit is contained in:
thinkgem
2022-04-30 11:16:41 +08:00
parent 858b04ff75
commit b16d6bd4bd
5 changed files with 62 additions and 98 deletions

View File

@@ -41,21 +41,21 @@
<artifactId>jeesite-module-core</artifactId>
<version>${project.parent.version}</version>
</dependency>
<!-- 在线文档接口 -->
<dependency>
<groupId>com.jeesite</groupId>
<artifactId>jeesite-module-swagger</artifactId>
<version>${project.parent.version}</version>
</dependency>
<!-- 内容管理模块 -->
<dependency>
<groupId>com.jeesite</groupId>
<artifactId>jeesite-module-cms</artifactId>
<version>${project.parent.version}</version>
</dependency>
<!-- 移动端模块 -->
<dependency>
<groupId>com.jeesite</groupId>
@@ -99,23 +99,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>