Two options:

1. Use the exclusions tag in the jfreechart dependency to specifically
exclude gnujaxp. See here:
http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html

2. Add dependency for gnujaxp and use <scope>provided</scope>. This
will probably work, but really option #1 is the "right" way to do this
in Maven.


Wayne

On 5/4/06, Dan Adams <[EMAIL PROTECTED]> wrote:
I'm using htmlunit and jfreechart for something and both depend on an
xml parser. The problem is that jfreechart depends on gnujaxp which
throws up tons of warnings and actually causes my htmlunit tests to
fail. I have xerces on the classpath but it comes after gnujaxp. Any
suggestions on how to get around this?

--
Dan Adams
Software Engineer
Interactive Factory
617.235.5857


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



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

Reply via email to