本文介绍了从战争 Maven 3 中排除 jar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们需要从 war 中排除一些 jar ......我们在 weblogic 中使用 maven 3.
We need to exclude few jars from war ...we are using maven 3 in weblogic.
我试过了
<packagesourceexludes>...and <warsournceexludes..>
但是没有用.
任何其他方式来做到这一点.
Any other way to do this.
谢谢维杰
推荐答案
<dependency>
<groupId>xerces</groupId>
<artifactId>xerces</artifactId>
<version>2.4.0</version>
<scope>provided</scope>
</dependency>
所以不需要从每个依赖中排除..这解决了我的问题...感谢您的所有回答...
So doesn't need to exclude from every dependency..This solved my problem...Thanks for all your answer...
这篇关于从战争 Maven 3 中排除 jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!