https://issues.apache.org/bugzilla/show_bug.cgi?id=50801

           Summary: Remove duplicate stax-api dependency for
                    poi-ooxml-schemas
           Product: POI
           Version: 3.7
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The dependency tree for poi-ooxml-schemas looks like this:

org.apache.poi:poi-ooxml-schemas:jar:3.7:compile
+- org.apache.xmlbeans:xmlbeans:jar:2.3.0:compile
|  \- stax:stax-api:jar:1.0.1:compile
\- org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0:compile

It would seem that geronimo's stax api was added as part of Bug 46758:
  https://issues.apache.org/bugzilla/show_bug.cgi?id=46758

The problem is that the stax-api dependency is essentially duplicated because
xmlbeans uses stax:stax-api, while poi is using
org.apache.geronimo.specs:geronimo-stax-api_1.0_spec.  (If they used the same
groupId/artifactId, then there would not be duplication as Maven would
recognize these artifacts as being logically the same.)

If you must keep with geronimo's stax-api, then I suggest excluding
stax:stax-api.

BTW...  com.sun.xml.bind:jaxb-impl references
javax.xml.stream:stax-api:jar:1.0:compile -- so this jar has 3 aliases.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to