Add the moment we need to add some The following parameters when performing a release. We should add make the following configuration properties in the pom file instead release simpler :
{code:xml} <releaseProfiles>distro</releaseProfiles> {code} Select the right profile for the release
{code:xml} <arguments>-DskipTests</arguments> {code} Skip the tests (the builg should have benn already tested)
{code:xml} <pushChanges>false</pushChanges> {code} The maven lugin won't push changes on the remote repository
{code:xml} <localCheckout>true</localCheckout> {code} Use the local tag to perform the release
{code:xml} < allowTimestampedSnapshots>true</allowTimestampedSnapshots> {code}
{code:xml} < tagNameFormat>@{project.version}</tagNameFormat> {code} The name of the branch containing the new tag
We aslo have to remove the following from the pom: {code:xml} <configuration> <goals>assembly:assembly</goals> </configuration> {code} This causes an error performing the release since the assembly ditribution distribution file has been moved under the distribution folder
|