[ https://issues.apache.org/jira/browse/ARTEMIS-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clebert Suconic closed ARTEMIS-3870. ------------------------------------ > Mark the -all client deps as optional in the distribution pom to avoid > clashing/duplicate deps > ---------------------------------------------------------------------------------------------- > > Key: ARTEMIS-3870 > URL: https://issues.apache.org/jira/browse/ARTEMIS-3870 > Project: ActiveMQ Artemis > Issue Type: Task > Affects Versions: 2.23.1 > Reporter: Robbie Gemmell > Assignee: Robbie Gemmell > Priority: Minor > Fix For: 2.24.0 > > Time Spent: 20m > Remaining Estimate: 0h > > The two '-all' client artifacts produced by the build from the 'original' > client module components, are both listed dependencies in the apache-artemis > distribution pom in the artemis-distribution dir. These two -all clients are > mutually exclusive and dont coexist, containing the same classes but with > javax.jms and jakarta.jms spec impls, and the artifacts also contain > effective duplicates of all the original jms client [transitive] dependencies > already being passed on separately (giving 3 copies in various cases). > For these reasons they should be marked 'optional' in the pom so that they > arent automatically passed on to anyone happening to use the pom (albeit that > itself should be rare). -- This message was sent by Atlassian Jira (v8.20.10#820010)