I've got some code that sadly requires an old version of xerces, 1.4.4. The dependency in my project is

   <dependency>
     <groupId>xerces</groupId>
     <artifactId>xerces</artifactId>
     <version>1.4.4</version>
     <url>http://xml.apache.org/xerces-j/</url>
   </dependency>

However, compilation never succeeds under Maven. I'm getting undefined symbols, as if it's picking up a newer xerces (perhaps the one in $MAVEN_HOME/lib/endorsed/xerces-2.4.0.jar).

With debug output on, I can cut-and-paste the generated compile command onto a "javac" command line and it works fine.

What's the secret to getting this to work under Maven? (Or maybe it's at last time to upgrade this old code?)

--Sean



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



Reply via email to