Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Maven uses the wrong xerces version
https://bugzilla.redhat.com/show_bug.cgi?id=784816
Summary: Maven uses the wrong xerces version
Product: Fedora
Version: 16
Platform: Unspecified
OS/Version: All
Status: NEW
Severity: unspecified
Priority: unspecified
Component: maven
AssignedTo: sochotni(a)redhat.com
ReportedBy: cdewolf(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: akurtako(a)redhat.com, sochotni(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org
Classification: Fedora
Story Points: ---
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Created attachment 557637
-->
https://bugzilla.redhat.com/attachment.cgi?id=557637
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.
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.