[jboss-jira] [JBoss JIRA] (WFLY-10363) Generation of legacy feature pack licenses.xml output varies depending on whether -Pjboss-release is used
Brian Stansberry (JIRA)
issues at jboss.org
Sun May 13 14:32:00 EDT 2018
[ https://issues.jboss.org/browse/WFLY-10363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry moved WFCORE-3843 to WFLY-10363:
-------------------------------------------------
Project: WildFly (was: WildFly Core)
Key: WFLY-10363 (was: WFCORE-3843)
Component/s: Build System
(was: Server)
Affects Version/s: 12.0.0.Final
(was: 5.0.0.Alpha7)
> Generation of legacy feature pack licenses.xml output varies depending on whether -Pjboss-release is used
> ---------------------------------------------------------------------------------------------------------
>
> Key: WFLY-10363
> URL: https://issues.jboss.org/browse/WFLY-10363
> Project: WildFly
> Issue Type: Bug
> Components: Build System
> Affects Versions: 12.0.0.Final
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
>
> The legacy feature pack licenses.xml generation uses the maven-resources-plugin copy-resources goal to copy the core-feature-pack-licenses.xml file from a custom src location to a custom target location, and then runs the licenses-plugin insert-versions goal, using that target file as both an input and an output of that goal.
> The problem is using the -Pjboss-release profile causes those executions to occur in a different order. With -Pjboss-release, the copy-resources happens after the insert-versions, removing all effect of the insert-versions.
> There are a couple fixes that come to mind. One is moving the copy-resources from prepare-package phase to prepare-resources. The other is dropping the copy-resources altogether and just directly specifying the src file as the input to the insert-versions.
> I think I'll go for the latter as the result seems simpler to understand in the future.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list