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

Erich Duda (JIRA) issues at jboss.org
Wed May 9 10:55:02 EDT 2018


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

Erich Duda updated WFLY-10350:
------------------------------
    Description: 
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}

  was:
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 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}



> 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