|
|
|
@ -484,17 +484,28 @@ |
|
|
|
|
<version>2.6</version> |
|
|
|
|
</plugin> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- war打包插件, 设定war包名称不带版本号 --> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-war-plugin</artifactId> |
|
|
|
|
<version>2.4</version> |
|
|
|
|
<version>3.2.0</version> |
|
|
|
|
<configuration> |
|
|
|
|
<!-- 打包本地lib包下的jar --> |
|
|
|
|
<webResources> |
|
|
|
|
<resource> |
|
|
|
|
<directory>${project.basedir}/lib</directory> |
|
|
|
|
<targetPath>WEB-INF/lib</targetPath> |
|
|
|
|
<filtering>false</filtering> |
|
|
|
|
<includes> |
|
|
|
|
<include>**/*.jar</include> |
|
|
|
|
</includes> |
|
|
|
|
</resource> |
|
|
|
|
</webResources> |
|
|
|
|
<warName>${project.artifactId}</warName> |
|
|
|
|
</configuration> |
|
|
|
|
</plugin> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- jar打包相关插件 --> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|