On 5/3/06, Sean McNamara <[EMAIL PROTECTED]> wrote:

I need to get rid of the duplicates in the WEB-INF/lib directory, but am not 
sure quite how to accomplish this.  Can anyone provide some direction?

http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html

Usually you do this with <exclusions>.  Sometimes it's hard to figure
out where the unwanted jars are coming from, though.  Running mvn with
-X on the command line should output enough information.

(I've been known to cheat and just declare the offending jars as
<scope>provided</scope> dependencies in the module with the problem. That will be the "closest" definition and it will override whatever
else is in the dependency graph.)

HTH,
--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to