版本号修复

This commit is contained in:
guwd 2020-10-12 08:32:03 +08:00
parent 7d36ed0939
commit d2f644f0bc
1 changed files with 110 additions and 94 deletions

20
pom.xml
View File

@ -8,7 +8,10 @@
<artifactId>ms-mcms</artifactId>
<version>5.1</version>
<name>ms-mcms</name>
<!-- 打包jar包 -->
<packaging>jar</packaging>
<!-- 打包war包 -->
<!-- <packaging>war</packaging> -->
<properties>
<java.version>1.8</java.version>
</properties>
@ -31,6 +34,7 @@
<dependency>
<groupId>net.mingsoft</groupId>
<artifactId>ms-mpeople</artifactId>
<version>1.0.28</version>
</dependency>
<!-- 此部分是铭飞平台MStroe的客户端MStore不在铭飞开源产品范围如果不需要使用MStore可以删除掉 -->
@ -42,6 +46,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<version>2.2.2.RELEASE</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
@ -76,6 +81,17 @@
<fork>true</fork>
</configuration>
</plugin>
<!-- 打包war包使用 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<warSourceExcludes>src/main/resources/**</warSourceExcludes>
<warName>mcms</warName>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
@ -83,10 +99,10 @@
<directory>src/main/webapp</directory>
<excludes>
<!--打包生产 -->
<!-- <exclude>static/</exclude>
<exclude>static/</exclude>
<exclude>html/</exclude>
<exclude>upload/</exclude>
<exclude>templets/</exclude> -->
<exclude>templets/</exclude>
</excludes>
</resource>
<resource>