Bug 65101

Summary: Dependency Convergence issue with xml-apis on version 5.0.0
Product: POI Reporter: Daniel Subelman <dsubelman>
Component: POI OverallAssignee: POI Developers List <dev>
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
URL: https://issues.apache.org/jira/browse/BATIK-1297

Description Daniel Subelman 2021-01-23 23:19:07 UTC
There is dependency convergence issue with xml-apis (v1.3.04 and v1.4.01).

Here is maven-enforcer-plugin report:


Comment 1 Dominik Stadler 2021-01-25 07:11:23 UTC
Can you work around this by specifying the newer version of xml-apis in your pom.xml explicitely? As far as I remember this is a way to get rid of such "maven-enforcer" violations locally.
Comment 2 Daniel Subelman 2021-01-25 15:10:30 UTC
Sure, that's the work around I implemented and got rid of the "maven-enforcer" violation. The current pom.xml looks like this:


However, I'm reporting this because the dependency conflict is within poi-ooxml and I think it should be tackle there.
Comment 3 PJ Fanning 2021-01-25 15:18:20 UTC
The issue is in the batik dependencies.
Comment 4 Daniel Subelman 2021-01-25 15:25:26 UTC
You are right, should I report the issue there?
Comment 5 PJ Fanning 2021-01-25 15:58:54 UTC
probably best to start with https://issues.apache.org/jira/projects/BATIK
Comment 6 Daniel Subelman 2021-01-25 16:31:25 UTC
I reported the issue in BATIK (https://issues.apache.org/jira/browse/BATIK-1297).

I'll post here any update from them.
Comment 7 Dominik Stadler 2021-04-27 06:31:42 UTC
I think this will be solved by switching to the Gradle build and more specific as well as optional dependencies of batik.

*** This bug has been marked as a duplicate of bug 65206 ***