maven-war-plugin插件怎么使用
本文讲解"maven-war-plugin插件如何使用",希望能够解决相关问题。
maven-war-plugin
项目如果是web主应用,我们可以使用maven-war-plugin来对webapps下各类文件进行过滤。
示例用法
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <configuration> <warName>demo-Rest</warName> <webResources> <resource> <directory>src/main/webapp/WEB-INF</directory> <filtering>true</filtering> <targetPath>WEB-INF</targetPath> <includes> <include>web.xml</include> </includes> </resource> </webResources> </configuration></plugin>
关于 "maven-war-plugin插件如何使用" 就介绍到此。希望多多支持编程宝库。
properties-maven-plugin插件怎么使用:本文讲解"properties-maven-plugin插件如何使用",希望能够解决相关问题。properties-maven-plugin随着项目的不断迭代,我们的资源配置项将会 ...