-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 5.6
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Dev Tools
-
Tags:
-
Backlog priority:700
-
Story Points:10
When activating the nightly or release Maven profiles, the same phases are triggered twice (buildnumber:create {execution: default}, incremental-build:incremental-build {execution: default}, resources:copy-resources {execution: copy-readme} and resources:copy-resources {execution: copy-readme-parent}). The results in unexpected build issues.
Without profile:
$ mvn package -N |grep execution [INFO] [buildnumber:create {execution: default}] [INFO] [incremental-build:incremental-build {execution: default}] [INFO] [resources:copy-resources {execution: copy-readme}] [INFO] [resources:copy-resources {execution: copy-readme-parent}] [INFO] [jacoco:prepare-agent {execution: default}] [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] [INFO] [build-helper:remove-project-artifact {execution: remove-old-installers}]
With nightly profile:
$ mvn package -Pnightly -N |grep execution [INFO] [buildnumber:create {execution: default}] [INFO] [incremental-build:incremental-build {execution: default}] [INFO] [resources:copy-resources {execution: copy-readme}] [INFO] [resources:copy-resources {execution: copy-readme-parent}] [INFO] [jacoco:prepare-agent {execution: default}] [INFO] [gwt:compile {execution: default}] [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] [INFO] [build-helper:remove-project-artifact {execution: remove-old-installers}] [INFO] [buildnumber:create {execution: default}] [INFO] [incremental-build:incremental-build {execution: default}] [INFO] [resources:copy-resources {execution: copy-readme}] [INFO] [resources:copy-resources {execution: copy-readme-parent}] [INFO] [jacoco:prepare-agent {execution: default}] [INFO] [source:jar {execution: attach-sources}]