Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-557

Duplicate classes in jar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Version 4.0.0
    • Version 5.0.0
    • None
    • None

    Description

      Download https://search.maven.org/remotecontent?filepath=org/apache/xmlbeans/xmlbeans/4.0.0/xmlbeans-4.0.0.jar.
      Open archive and navigate to duplicate classes:

      org/apache/xmlbeans/metadata/system/sXMLCONFIG/TypeSystemHolder.class
       org/apache/xmlbeans/metadata/system/sXMLTOOLS/TypeSystemHolder.class
       org/apache/xmlbeans/metadata/system/sXMLLANG/TypeSystemHolder.class
       org/apache/xmlbeans/metadata/system/sXMLSCHEMA/TypeSystemHolder.class

      Found with maven-enforcer-plugin:3.0.0-M3:enforce:
       

      [WARNING] Rule 0: org.apache.maven.plugins.enforcer.BanDuplicateClasses failed with message:
       Duplicate classes found:
      Found in:
       org.apache.xmlbeans:xmlbeans:jar:4.0.0:compile
       Duplicate classes:
       org/apache/xmlbeans/metadata/system/sXMLCONFIG/TypeSystemHolder.class
       org/apache/xmlbeans/metadata/system/sXMLTOOLS/TypeSystemHolder.class
       org/apache/xmlbeans/metadata/system/sXMLLANG/TypeSystemHolder.class
       org/apache/xmlbeans/metadata/system/sXMLSCHEMA/TypeSystemHolder.class
      

       

      Attachments

        Activity

          People

            pj.fanning PJ Fanning
            dvponomarev dvponomarev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: