Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-1297

Dependency Convergence issue with xml-apis

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.14
    • Fix Version/s: None
    • Component/s: Build Tools
    • Labels:
      None

      Description

      There is dependency convergence issue with xml-apis (v1.3.04 and v1.4.01).

      Here is maven-enforcer-plugin report:

      +-org.apache.xmlgraphics:batik-all:1.13
           +-org.apache.xmlgraphics:batik-dom:1.13
               +-xalan:xalan:2.7.2
                   +-xalan:serializer:2.7.2
                       +-xml-apis:xml-apis:1.3.04
      
      +-org.apache.xmlgraphics:batik-all:1.13
           +-org.apache.xmlgraphics:batik-dom:1.13
               +-xml-apis:xml-apis:1.4.01
      

      One way to fix this issue is to exclude xml-apis from xalan dependency by modifing the pom.xml file in batik-dom from:
       

      <dependency>
          <groupId>xalan</groupId>
          <artifactId>xalan</artifactId>
          <version>${xalan.version}</version>
       </dependency>
      

       
      to:
       

      <dependency>
          <groupId>xalan</groupId>
          <artifactId>xalan</artifactId>
          <version>${xalan.version}</version>
          <exclusions>
              <exclusion>
                  <groupId>xml-apis</groupId>
                  <artifactId>xml-apis</artifactId>
              </exclusion>
          </exclusions>
      </dependency>
      

       

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dsubel Daniel Subelman
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: