[richfaces-svn-commits] JBoss Rich Faces SVN: r18997 - modules/tests/metamer/trunk.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri Aug 27 08:41:26 EDT 2010


Author: ppitonak at redhat.com
Date: 2010-08-27 08:41:25 -0400 (Fri, 27 Aug 2010)
New Revision: 18997

Modified:
   modules/tests/metamer/trunk/release.sh
Log:
* new version of release script in which it is possible to enter path to settings.xml 


Modified: modules/tests/metamer/trunk/release.sh
===================================================================
--- modules/tests/metamer/trunk/release.sh	2010-08-27 11:13:48 UTC (rev 18996)
+++ modules/tests/metamer/trunk/release.sh	2010-08-27 12:41:25 UTC (rev 18997)
@@ -7,8 +7,17 @@
 read -p 'Press ENTER to continue or Ctrl+C for exit...'
 read -p 'Enter release version: ' RELEASE
 read -p 'Enter new development version: ' DEVELOPMENT
+read -p 'Enter path to the settings.xml: ' MVN_SETTINGS
+
 CONF="--batch-mode -Dtag=metamer-${RELEASE} -DreleaseVersion=${RELEASE} -DdevelopmentVersion=${DEVELOPMENT}"
+
+if [ -n "$MVN_SETTINGS" ]; then
+   echo "**** NIE JE PRAZDNE $MVN_SETTINGS"
+   CONF="$CONF -s $MVN_SETTINGS"; 
+fi
+
 echo "Configuration: ${CONF}"
+
 read -p 'Press ENTER to clean...'
 mvn release:clean clean
 read -p 'Press ENTER to dry run...'



More information about the richfaces-svn-commits mailing list