胡子哥哥
<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>