存档

2017年6月 的存档

maven-war-plugin插件的warSourceExcludes和packagingExcludes参数的区别

2017年6月29日 亲亲宝宝 没有评论 3,866 次阅读

打包war包时,使用maven-war-plugin的warSourceExcludes和packagingExcludes这两个参数,忽略一些只在本地使用的文件,比如一些webapp/test/a.jsp或者单元测试用例。 引用官网的说明: warSourceExcludes: The comma separated list of tokens to exclude when copying the content of the warSourceDirectory. packaging...阅读全文

分类: java 标签: