You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/06/23 08:43:00 UTC

[jira] [Commented] (ARTEMIS-3870) Mark the -all client deps as optional in the distribution pom to avoid clashing/duplicate deps

    [ https://issues.apache.org/jira/browse/ARTEMIS-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17557885#comment-17557885 ] 

ASF subversion and git services commented on ARTEMIS-3870:
----------------------------------------------------------

Commit d199bf3c8ca0946e4c9c051c07a870eb872274ff in activemq-artemis's branch refs/heads/main from Robbie Gemmell
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=d199bf3c8c ]

ARTEMIS-3870: mark -all client deps optional in distribution pom, avoid passing on clashing/duplicate deps


> 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.7#820007)