码迷,mamicode.com
首页 > Web开发 > 详细

How to replace a value in web.xml with a Maven property?(转)

时间:2015-06-01 22:03:58      阅读:144      评论:0      收藏:0      [点我收藏+]

标签:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-war-plugin</artifactId>
    <configuration>
        <webResources>
            <resource>
                <filtering>true</filtering>
                <directory>src/main/webapp</directory>
                <includes>
                    <include>**/web.xml</include>
                </includes>
            </resource>
        </webResources>
        <warSourceDirectory>src/main/webapp</warSourceDirectory>
        <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
    </configuration>
</plugin>

 

How to replace a value in web.xml with a Maven property?(转)

标签:

原文地址:http://www.cnblogs.com/qq78292959/p/4544841.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!