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 GitHub Bot (Jira)" <ji...@apache.org> on 2022/06/22 16:45:00 UTC

[jira] [Work logged] (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?focusedWorklogId=783900&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-783900 ]

ASF GitHub Bot logged work on ARTEMIS-3870:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Jun/22 16:44
            Start Date: 22/Jun/22 16:44
    Worklog Time Spent: 10m 
      Work Description: gemmellr opened a new pull request, #4119:
URL: https://github.com/apache/activemq-artemis/pull/4119

   Mark the -all client deps optional in distribution pom to avoid passing on their clashing/duplicate deps to users of it. Clean up some existing uses in the build itself hitting the issue.




Issue Time Tracking
-------------------

            Worklog Id:     (was: 783900)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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: 10m
>  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)