On Fri, Feb 20, 2009 at 5:36 AM, <[email protected]> wrote: > Hi guys, > > I was wondering if any of you know how to tell Maven to ignore certain > classes within a dependency package. My Maven project needs part of the > dependency (3rd party software), but this dependency has other classes which > are used by Java when they should not. > > Namely it's the Web-logic JAR, and Java's XSLT transformer factory that are > encouraged in making my Friday longer than it should be :(
I use the resources plugin to only copy 3rd party stuff from the repo into a staging folder. Then my assembly plugin pulls jars from there. http://maven.apache.org/plugins/maven-resources-plugin/examples/copy-resources.html HTH, -Ron --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
