Currently the preparations for the upcoming Maven 3.4.0 release is running. There had been informations about the changes for the next Maven release.
I will give some more information about changes which are (might be!) part of the next Maven release.
Just be warned that you do not blame me if a particular issue will not part of the final release. This is written from the current perspecitve. So no warranty about that.
If you like to create source packages during the release you can use the defined state
in the super pom, but unfortunately there is little issue with the default
definitions which causes the
generate-resources and the
cycle phase to run twice based on the bound goal of the maven-source-plugin which
forkes the life cycle. So a typical workaorund is to detach the maven-source-plugin
form the life cycle via the following:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
But to keep generating a source package during the release you need to add the following to your pom file:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
The above workaround is no longer needed cause the super pom has been changed
accordingly to MNG-5940 and exactly contains the binding with the