[
https://issues.apache.org/jira/browse/ARTEMIS-3314?focusedWorklogId=602619&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-602619
]
ASF GitHub Bot logged work on ARTEMIS-3314:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 26/May/21 22:23
Start Date: 26/May/21 22:23
Worklog Time Spent: 10m
Work Description: clebertsuconic merged pull request #3597:
URL: https://github.com/apache/activemq-artemis/pull/3597
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 602619)
Time Spent: 40m (was: 0.5h)
> Fix warnings about not triggering artifact inclusion or including module
> artifact
> ---------------------------------------------------------------------------------
>
> 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
> Priority: Minor
> Fix For: 2.18.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> When looking into an issue with the assembly after updating the
> assembly-plugin in ARTEMIS-3296 recently, I noticed the assembly build logs
> lots of warnings, a couple of which can be trivially removed.
> The first, about not is logged 27 times:
> {noformat}
> [WARNING] Cannot include project artifact:
> org.apache.activemq:apache-artemis:pom:2.18.0-SNAPSHOT; it doesn't have an
> associated file or directory.
> {noformat}
> This is as there are 9 dependencySets used, and 3 assembleis created. Simply
> configuring it not to try using the module artifact (a pom, which isnt
> included anyway) will suppress these.
> The second about a dependency not matching the specified include filter in
> artemis-distribution/src/main/assembly/dep.xml is logged 3 times:
> {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)