Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.98.4
-
None
-
None
-
Reviewed
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>
The arguments are hardcoded in and will automatically override any arguments the user passes in from the command line.
I propose to modify this to the following
<arguments>-Dmaven.test.skip.exec ${arguments}</arguments>