Robbie Gemmell created ARTEMIS-3314:
---------------------------------------

             Summary: Fix warning about not triggering artifact inclusion filter
                 Key: ARTEMIS-3314
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3314
             Project: ActiveMQ Artemis
          Issue Type: Task
    Affects Versions: 2.17.0
            Reporter: Robbie Gemmell
            Assignee: Robbie Gemmell
             Fix For: 2.18.0


When looking into an issue with the assembly after updating the assembly-plugin 
in ARTEMIS-3296 recently, I noticed the assembly build logs warnings about a 
dependency not matching the specified include filter in 
artemis-distribution/src/main/assembly/dep.xml:

{noformat}
[WARNING] The following patterns were never triggered in this artifact 
inclusion filter:
o 'com.sun.xml.bind:jaxb-core
{noformat}

Checking the latest 2.17.0 release, the jar is not included in the assembly.

This entry looks to have been introduced in 
[94c34b7ed9345a4be4948a52ff3a177b270cd0e6 
|https://github.com/apache/activemq-artemis/commit/94c34b7ed9345a4be4948a52ff3a177b270cd0e6]
 before 2.6.0, when the jar was indeed included in the assembly, as it was in 
2.16.0 before it then disappeared in 2.17.0. Since it was doesnt look to have 
ever been an explicit dependency mentioned in any code changes, it was 
presumably a transitive dependency of something included in the assembly and is 
no longer transitive after e.g a version update and so no longer matches the 
filter. As such it should be removed to stop the warnings.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to