You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by dk...@apache.org on 2013/01/25 15:53:43 UTC
svn commit: r1438545 - /aries/scripts/verify_staged_release.sh
Author: dkulp
Date: Fri Jan 25 14:53:42 2013
New Revision: 1438545
URL: http://svn.apache.org/viewvc?rev=1438545&view=rev
Log:
Update the verify script to use the staging repo for the build
Modified:
aries/scripts/verify_staged_release.sh
Modified: aries/scripts/verify_staged_release.sh
URL: http://svn.apache.org/viewvc/aries/scripts/verify_staged_release.sh?rev=1438545&r1=1438544&r2=1438545&view=diff
==============================================================================
--- aries/scripts/verify_staged_release.sh (original)
+++ aries/scripts/verify_staged_release.sh Fri Jan 25 14:53:42 2013
@@ -68,6 +68,27 @@ done
rm -rf ${DOWNLOAD}/${STAGING}-unzips
mkdir ${DOWNLOAD}/${STAGING}-unzips
+# Build a settings.xml that points at the staging area so that artifacts can
+# be resolved if the build occurs out of order
+
+echo "<settings>" > ${DOWNLOAD}/settings.xml
+echo " <profiles>" >> ${DOWNLOAD}/settings.xml
+echo " <profile>" >> ${DOWNLOAD}/settings.xml
+echo " <id>staged</id>" >> ${DOWNLOAD}/settings.xml
+echo " <activation>" >> ${DOWNLOAD}/settings.xml
+echo " <activeByDefault>true</activeByDefault>" >> ${DOWNLOAD}/settings.xml
+echo " </activation>" >> ${DOWNLOAD}/settings.xml
+echo " <repositories>" >> ${DOWNLOAD}/settings.xml
+echo " <repository>" >> ${DOWNLOAD}/settings.xml
+echo " <id>staging</id>" >> ${DOWNLOAD}/settings.xml
+echo " <url>http://repository.apache.org/content/repositories/orgapachearies-${STAGING}/</url>" >> ${DOWNLOAD}/settings.xml
+echo " </repository>" >> ${DOWNLOAD}/settings.xml
+echo " </repositories>" >> ${DOWNLOAD}/settings.xml
+echo " </profile>" >> ${DOWNLOAD}/settings.xml
+echo " </profiles>" >> ${DOWNLOAD}/settings.xml
+echo "</settings>" >> ${DOWNLOAD}/settings.xml
+
+
for i in `find ${DOWNLOAD}/${STAGING} -name *-source-release.zip`
do
cd ${DOWNLOAD}/${STAGING}-unzips/
@@ -78,7 +99,7 @@ do
echo **************************
cd `basename ${i/-source-release.zip/}`
- mvn clean install
+ mvn clean install -gs ../../settings.xml
echo **************************
echo Ratting ${i/-source-release.zip/}
@@ -99,4 +120,3 @@ done
echo ***** All done! Grep for FAIL in the output to see any issues ******
-