maven 怎么配置webapp
1 回答

胡子哥哥
TA貢獻1825條經(jīng)驗 獲得超6個贊
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.1-beta-1</version>
<configuration>
<warSourceDirectory>
${basedir}/webapp
</warSourceDirectory>
<!-- <packagingExcludes>**/*.svn</packagingExcludes>
<warSourceExcludes>**/*.svn</warSourceExcludes>
<warSourceIncludes>**/*.js,**/*.jsp,**/*.jpg,**/*.css,**/*.tld,**/*.xml</warSourceIncludes>
-->
<webXml>${basedir}/webapp/WEB-INF/web.xml</webXml>
</configuration>
</plugin>
- 1 回答
- 0 關(guān)注
- 792 瀏覽
添加回答
舉報
0/150
提交
取消