【发布时间】:2014-01-29 00:16:32
【问题描述】:
谁能解释一下下面的功能?
A)实际上下面的代码对我有用,但我不明白为什么我们需要在下面使用 maven-war-plugin
<warSourceDirectory>src/main/webapp</warSourceDirectory>
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
B) 将插件保存在项目中和配置文件中有什么区别? (说 maven-surefire-plugin )哪种方式更好(假设我必须在我的 pom.xml 中使用 <profile> 标签)
【问题讨论】:
标签: maven maven-2 maven-3 maven-plugin pom.xml