从战争Maven 3中排除jar

use*_*434 2 war maven-3 weblogic-10.x

我们需要从战争中排除几个罐子......我们在weblogic中使用maven 3.

我试过了

<packagesourceexludes>...and <warsournceexludes..>  
Run Code Online (Sandbox Code Playgroud)

但没有奏效.

任何其他方式来做到这一点.

谢谢Vijay

use*_*434 5

<dependency>
  <groupId>xerces</groupId>
  <artifactId>xerces</artifactId>
  <version>2.4.0</version>
  <scope>provided</scope>
</dependency>
Run Code Online (Sandbox Code Playgroud)

因此不需要从每个依赖项中排除..这解决了我的问题...感谢您的所有答案......