[jboss-jira] [JBoss JIRA] (WFLY-10350) Duplicated packages in artemis modules

Jeff Mesnil (JIRA) issues at jboss.org
Mon May 14 04:19:01 EDT 2018


     [ https://issues.jboss.org/browse/WFLY-10350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Mesnil resolved WFLY-10350.
--------------------------------
    Resolution: Rejected


This is not an issue.
The packages are present in 2 artemis jars but they provide non-overlapping classes.

Artemis ended up with such a split to extract its journal component (that depends on artemis-commons). At that time, the classes were moved from one component to another without changing their packages for backwards compatibility

> Duplicated packages in artemis modules
> --------------------------------------
>
>                 Key: WFLY-10350
>                 URL: https://issues.jboss.org/browse/WFLY-10350
>             Project: WildFly
>          Issue Type: Bug
>          Components: JMS
>    Affects Versions: 12.0.0.Final
>            Reporter: Erich Duda
>            Assignee: Jeff Mesnil
>
> As you can see in the following report, some Artemis packages are present in multiple jars which are parts of different modules. {{artemis-core-client}} jar is located in main module and {{artemis-commons}} jar is located in {{journal}} module. This is problem for Jigsaw.
> Based on the discussion with [~dmlloyd] This can be solved by adding {{filter}} subelement to the artemis-commons to filter out duplicated packages.
> {code}
> 142) [Package org.apache.activemq.artemis.api.core is present in multiple jars [artemis-commons-1.5.5.jbossorg-010.jar, artemis-core-client-1.5.5.jbossorg-010.jar]]
> 144) [Package org.apache.activemq.artemis.core.buffers.impl is present in multiple jars [artemis-commons-1.5.5.jbossorg-010.jar, artemis-core-client-1.5.5.jbossorg-010.jar]] 
> ./org/apache/activemq/artemis/main/artemis-core-client-1.5.5.jbossorg-010.jar
> ./org/apache/activemq/artemis/journal/main/artemis-commons-1.5.5.jbossorg-010.jar
> {code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list