Author: chris.laprun(a)jboss.com
Date: 2009-01-26 10:46:06 -0500 (Mon, 26 Jan 2009)
New Revision: 12637
Added:
modules/web/trunk/releaseLibs.sh
Modified:
modules/portlet/trunk/releaseLibs.sh
modules/test/trunk/releaseLibs.sh
Log:
Added option to deploy to maven repository.
Modified: modules/portlet/trunk/releaseLibs.sh
===================================================================
--- modules/portlet/trunk/releaseLibs.sh 2009-01-26 14:54:10 UTC (rev 12636)
+++ modules/portlet/trunk/releaseLibs.sh 2009-01-26 15:46:06 UTC (rev 12637)
@@ -13,6 +13,10 @@
if [[ $1 == "repos" ]]; then
loc=$repos
echo "Releasing to repository. Don't forget to update component-info.xml with
revision number."
+elif [[ $1 == "maven" ]]; then
+ echo "Releasing to Maven repository. You will need to have your credentials in
settings.xml."
+ mvn deploy -Djboss.repository.root=https://snapshots.jboss.org/maven2/
+ exit 0
elif [[ $1 == "usage" ]]; then
echo "Usage shown, nothing was done"
exit 0
Modified: modules/test/trunk/releaseLibs.sh
===================================================================
--- modules/test/trunk/releaseLibs.sh 2009-01-26 14:54:10 UTC (rev 12636)
+++ modules/test/trunk/releaseLibs.sh 2009-01-26 15:46:06 UTC (rev 12637)
@@ -13,6 +13,10 @@
if [[ $1 == "repos" ]]; then
loc=$repos
echo "Releasing to repository. Don't forget to update component-info.xml with
revision number."
+elif [[ $1 == "maven" ]]; then
+ echo "Releasing to Maven repository. You will need to have your credentials in
settings.xml."
+ mvn deploy -Djboss.repository.root=https://snapshots.jboss.org/maven2/
+ exit 0
elif [[ $1 == "usage" ]]; then
echo "Usage shown, nothing was done"
exit 0
Added: modules/web/trunk/releaseLibs.sh
===================================================================
--- modules/web/trunk/releaseLibs.sh (rev 0)
+++ modules/web/trunk/releaseLibs.sh 2009-01-26 15:46:06 UTC (rev 12637)
@@ -0,0 +1,29 @@
+repos=$HOME/Dev/portal-modules-repos/common/trunk-SNAPSHOT/lib
+thirdparty=$HOME/Dev/jboss-portal-2.7/thirdparty/jboss-portal/modules/common/lib/
+
+echo "Copies current version of web libraries either to local repository copy or
Portal thirdparty to test or release purpose"
+echo "Usage: '$0' to release to Portal thirdparty, '$0 repos' to
release to repository local copy"
+echo "Set 'repos' variable to the snapshot lib directory for the common
module of your local repository copy"
+echo "Set 'thirdparty' variable to the lib directory for the common module
of your local JBoss Portal 2.7 thirparty directory"
+echo ""
+echo "repos currently set at: $repos"
+echo "thirdparty currently set at: $thirdparty"
+echo ""
+
+if [[ $1 == "repos" ]]; then
+ loc=$repos
+ echo "Releasing to repository. Don't forget to update component-info.xml with
revision number."
+elif [[ $1 == "maven" ]]; then
+ echo "Releasing to Maven repository. You will need to have your credentials in
settings.xml."
+ mvn deploy -Djboss.repository.root=https://snapshots.jboss.org/maven2/
+ exit 0
+elif [[ $1 == "usage" ]]; then
+ echo "Usage shown, nothing was done"
+ exit 0
+else
+ loc=$thirdparty
+ echo "Releasing to Portal thirdparty"
+fi
+
+
+cp web/target/web-web-1.2.0-SNAPSHOT.jar $loc/portal-web-lib.jar
\ No newline at end of file
Property changes on: modules/web/trunk/releaseLibs.sh
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:eol-style
+ native
Show replies by date