[ https://issues.apache.org/jira/browse/XMLBEANS-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17291947#comment-17291947 ]
PJ Fanning commented on XMLBEANS-557: ------------------------------------- Those are 4 classes in 4 different packages. You can have classes can have the same name in different pacjkages. Nothing fundamentally wrong with that. These classes are generated from 4 different XML schemas. > Duplicate classes in jar > ------------------------ > > Key: XMLBEANS-557 > URL: https://issues.apache.org/jira/browse/XMLBEANS-557 > Project: XMLBeans > Issue Type: Bug > Affects Versions: Version 4.0.0 > Reporter: dvponomarev > Priority: Major > Attachments: image-2021-02-27-01-17-20-360.png > > > 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: > {code:java} > 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{code} > !image-2021-02-27-01-17-20-360.png! > Found with maven-enforcer-plugin:3.0.0-M3:enforce: > > {code:java} > [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 > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org