[
https://issues.redhat.com/browse/WFLY-13512?page=com.atlassian.jira.plugi...
]
Antonio Fernandez Alhambra moved WFCOM-61 to WFLY-13512:
--------------------------------------------------------
Project: WildFly (was: WildFly Common)
Key: WFLY-13512 (was: WFCOM-61)
Affects Version/s: (was: 1.4.0.Final)
(was: 1.5.1.Final)
Duplicated classes in META-INF folder
-------------------------------------
Key: WFLY-13512
URL:
https://issues.redhat.com/browse/WFLY-13512
Project: WildFly
Issue Type: Quality Risk
Reporter: Antonio Fernandez Alhambra
Priority: Major
Labels: reported-by-qe
Attachments: Screenshot from 2020-05-14 17-20-16.png
There are duplicated classes inside the org.wildfly.common:wildfly-common file.
So whenever the enforcer maven plugin is used for building, if there is a dependency in
the pom.xml, enforcer plugin will fail complaining about this jar due to these duplicated
jar files.
{noformat}
Duplicate classes found:
Found in:
org.kie.server:kie-server-router-proxy:jar:7.38.0-SNAPSHOT:compile
org.wildfly.common:wildfly-common:jar:1.5.1.Final:compile
Duplicate classes:
META-INF/versions/9/org/wildfly/common/lock/JDKSpecific.class
META-INF/versions/9/org/wildfly/common/os/ProcessRedirect.class
META-INF/versions/9/org/wildfly/common/lock/Substitutions$Target_PauseNode.class
META-INF/versions/9/org/wildfly/common/os/GetProcessInfoAction.class
META-INF/versions/9/org/wildfly/common/lock/JDKSpecific$1.class
META-INF/versions/9/org/wildfly/common/lock/Substitutions.class
META-INF/versions/9/org/wildfly/common/lock/Substitutions$Target_JDKSpecific.class
META-INF/versions/11/org/wildfly/common/archive/JDKSpecific.class
META-INF/versions/9/org/wildfly/common/cpu/ProcessorInfo.class
{noformat}
Seems these duplicated classes are bundled in the jar since version 1.4.x onwards.
These duplicated classes are located in the META-INF/versions folders inside the jar.
Attached a screenshot of the same.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)