Bug 784816
Summary: | Maven uses the wrong xerces version | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Carlo de Wolf <cdewolf> | ||||
Component: | maven | Assignee: | Mikolaj Izdebski <mizdebsk> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 16 | CC: | akurtako, java-sig-commits, mizdebsk, sochotni | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | 3.0.4-32 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-02-11 16:38:09 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
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 |
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.