pom.xml | 5 +++++
release.sh | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
New commits:
commit 0911976c5e78b263b3c98d654ec3a4d84f6fbe0f
Author: Stefan Negrea <snegrea(a)redhat.com>
Date: Fri Nov 30 10:33:32 2012 -0600
Set maven versions plugin to 1.3.1. in project pom.xml and keep the release script
generic.
diff --git a/pom.xml b/pom.xml
index 273ada9..0ac5512 100644
--- a/pom.xml
+++ b/pom.xml
@@ -727,6 +727,11 @@
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
+ <artifactId>versions-maven-plugin</artifactId>
+ <version>1.3.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs.version}</version>
</plugin>
diff --git a/release.sh b/release.sh
index a51f812..6b99187 100755
--- a/release.sh
+++ b/release.sh
@@ -349,7 +349,7 @@ run_release_version_and_tag_process()
[ "$?" -ne 0 ] && abort "Failed to cleanup snbapshot jars
produced by test build from module target dirs. Please see above Maven output for details,
fix any issues, then try again."
echo "3) Increment version on all poms."
- mvn org.codehaus.mojo:versions-maven-plugin:1.3.1:set
org.codehaus.mojo:versions-maven-plugin:1.3.1:use-releases -DnewVersion=$RELEASE_VERSION
-DallowSnapshots=false -DgenerateBackupPoms=false
+ mvn versions:set versions:use-releases -DnewVersion=$RELEASE_VERSION
-DallowSnapshots=false -DgenerateBackupPoms=false
[ "$?" -ne 0 ] && abort "Version set failed. Please see output
for details, fix any issues, then try again."
echo "4) Perform a test build with the new version."
@@ -417,7 +417,7 @@ update_development_version()
fi
echo "1) Set version to the current development version"
- mvn org.codehaus.mojo:versions-maven-plugin:1.3.1:set
org.codehaus.mojo:versions-maven-plugin:1.3.1:use-releases
-DnewVersion=$DEVELOPMENT_VERSION -DallowSnapshots=false -DgenerateBackupPoms=false
+ mvn versions:set versions:use-releases -DnewVersion=$DEVELOPMENT_VERSION
-DallowSnapshots=false -DgenerateBackupPoms=false
[ "$?" -ne 0 ] && abort "Version set failed. Please see output
for details, fix any issues, then try again."
echo "2) Commit the change in version."
Show replies by date