Created attachment 557637 [details] upstream vs installed Description of problem: When developing a Maven extension that uses DOM you run into trouble if you do not load the default installed extension libraries. /usr/share/maven/lib/ext contains xml-commons-apis.jar to hide the fact that /usr/share/maven/lib/xerces-j2.jar is not the same as xercesMinimal-1.9.6.2.jar which comes with the upstream distribution. Version-Release number of selected component (if applicable): maven-3.0.3-15.fc16.x86_64 How reproducible: Always. Steps to Reproduce: 1. Write an extension that does not incorporate the default lib/ext 2. Use the extension Actual results: Observe the java.lang.ClassNotFoundException: org.w3c.dom.ElementTraversal Expected results: A working extension. Additional info: In the attachment there is a diff between a run with upstream and a run with installed maven.
I believe that this bug is fixed in maven-3.0.4-32, which is available in Fedora Rawhide. I am closing the bug now, thank you for reporting it. A summary of changes is included below. * Mon Feb 11 2013 Mikolaj Izdebski <mizdebsk> - 3.0.4-32 - Remove xerces-j2 from plexus.core realm - Resolves: rhbz#784816