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/03/03 15:37:00 UTC

[jira] [Work logged] (ARTEMIS-3695) use specific jetty dependencies instead of jetty-all

     [ https://issues.apache.org/jira/browse/ARTEMIS-3695?focusedWorklogId=736089&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-736089 ]

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

                Author: ASF GitHub Bot
            Created on: 03/Mar/22 15:36
            Start Date: 03/Mar/22 15:36
    Worklog Time Spent: 10m 
      Work Description: gemmellr opened a new pull request #3973:
URL: https://github.com/apache/activemq-artemis/pull/3973


   Use specific jetty deps instead of uber jar, rationalise the servlet api deps.
   
   Partially reverts https://github.com/apache/activemq-artemis/commit/c5f94f340d721600c4b67dc003eace023b046211 as it was useful after all.
   
   This passes all the tests, and the console seems to work fine. It doesnt seem that any of the many more things jetty-all brought in [1] are actually needed, but maybe someone more familiar with these bits would know more.
   
   [1] https://repo1.maven.org/maven2/org/eclipse/jetty/aggregate/jetty-all/9.4.44.v20210927/jetty-all-9.4.44.v20210927.pom


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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

> use specific jetty dependencies instead of jetty-all
> ----------------------------------------------------
>
>                 Key: ARTEMIS-3695
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3695
>             Project: ActiveMQ Artemis
>          Issue Type: Task
>    Affects Versions: 2.20.0
>            Reporter: Robbie Gemmell
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The build using the 'jetty-all' modules "uber" classified jar as a dependency in numerous places. This dependency unfortunately also passes on all its component dependencies of the individual jetty modules it includes, thus meaning all the artemis modules using it also have the effective duplicate dependencies (though for the resulting downloadable distribution archive, only the uber jar is actually packaged in the end tar, due to some specific filtering used, e.g [1][2]).
> The Jetty folks say this artifact was not intended for users and shouldnt be used, https://www.eclipse.org//lists/jetty-users/msg06029.html.
> It has also already been removed in Jetty 10(/11) so this would also impede upgrading to those newer releases [3].
> The build should just depend on the invididual Jetty bits it needs in each area. 
> [1] https://github.com/apache/activemq-artemis/blob/ee52e3de7c5edb65ee0df463a17387672425b2ba/artemis-distribution/src/main/assembly/dep.xml#L39
> [2] https://github.com/apache/activemq-artemis/blob/ee52e3de7c5edb65ee0df463a17387672425b2ba/artemis-distribution/src/main/assembly/dep.xml#L50-L52
> [3] [https://github.com/eclipse/jetty.project/issues/5317]
>  
> (A first step might just be to depend on all the individual bits that jetty-all already does, and which the various modules using jetty-all are thus in turn already getting. Then afterwards they could be rationalised to only depend on the bits truly being used by each area).



--
This message was sent by Atlassian Jira
(v8.20.1#820001)