Details
Description
Inside the pom under the maven-release-plugin there is a configuration that defines what the release-plugin uses like so
<configuration>
<!--You need this profile. It'll sign your artifacts.
I'm not sure if this config. actually works though.
I've been specifying -Papache-release on the command-line
-->
<releaseProfiles>apache-release</releaseProfiles>
<!--This stops our running tests for each stage of maven release.
But it builds the test jar. From SUREFIRE-172.
-->
<arguments>-Dmaven.test.skip.exec</arguments>
<pomFileName>pom.xml</pomFileName>
</configuration>
There is no property for goals so if the user passes in a goal from the command line it will not get executed and the default behavior will be used instead.
I propose to add in the following
<goals>${goals}</goals>
This will allow custom release goal options