What is the correct way to exclude multiple jars from a war in 1.0?


(bart.spedden) #1

As an example, let’s say I want to exclude a.jar and b.jar from a war. What is correct way to do this?


(Peter Niederwieser) #2

The brute force solution is to use one of the War.exclude() methods. Depending on where the Jars come from, there may be better solutions, such as an exclude on the dependency or configuration level.