GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — jakarta.xml.bind-api in xmlunit-core isn't optional, unlike the OSGi import fixed in #301 · Issue #339 · xmlunit/xmlunit Closed Milestone Descriptionxmlunit-core's pom.xml declares jakarta.xml.bind-api (currently pinned to 2.3.3, the last version still using the javax.xml.bind package) as a plain compile dependency. Only jaxb-runtime next to it has This means any project that (a) depends on xmlunit-core directly and (b) also needs a real jakarta.xml.bind implementation elsewhere (e.g. via jaxb-runtime 4.x for something unrelated to xmlunit) can end up with 2.3.3 winning Maven's "nearest wins" mediation, since it's a direct dependency's transitive. That silently breaks anything using the real JAXB dependency at runtime with a ClassNotFoundException, since 2.3.3 doesn't even have the jakarta.xml.bind package. Example from a build that only uses xmlunit for DiffBuilder (never touches Input.from(jaxbBean)): #301 made the javax.xml.bind OSGi manifest import optional, but that's Import-Package metadata and doesn't affect plain Maven/Gradle resolution — the pom dependency itself is still mandatory. Marking it Worked around it on our end with an exclusion, just flagging it in case it's a quick fix like #301 was. Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |