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

Duplicate classes in jar

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Version 4.0.0
    • Fix Version/s: Version 5.0.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: