Author: ron.sigal(a)jboss.com
Date: 2011-06-11 14:41:18 -0400 (Sat, 11 Jun 2011)
New Revision: 6382
Added:
remoting2/branches/2.2/src/etc/maven_deploy
Log:
JBREM-1264: Script for releasing to maven repository.
Added: remoting2/branches/2.2/src/etc/maven_deploy
===================================================================
--- remoting2/branches/2.2/src/etc/maven_deploy (rev 0)
+++ remoting2/branches/2.2/src/etc/maven_deploy 2011-06-11 18:41:18 UTC (rev 6382)
@@ -0,0 +1,18 @@
+if [ $# -lt 1 ]
+then
+ echo usage: maven_deploy version
+ exit
+fi
+
+version=$1
+echo version: $version
+
+cp output/lib/jboss-remoting.jar output/lib/jboss-remoting-${version}.jar
+cp output/lib/jboss-remoting-src.jar output/lib/jboss-remoting-${version}-sources.jar
+
+echo mvn deploy:deploy-file -DpomFile=pom.xml
-Dfile=output/lib/jboss-remoting-${version}.jar -Dpackaging=jar
-DrepositoryId=jboss-releases-repository
-Durl=https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/
+ mvn deploy:deploy-file -DpomFile=pom.xml
-Dfile=output/lib/jboss-remoting-${version}.jar -Dpackaging=jar
-DrepositoryId=jboss-releases-repository
-Durl=https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/
+
+echo mvn deploy:deploy-file -DpomFile=pom.xml
-Dfile=output/lib/jboss-remoting-${version}-sources.jar -Dpackaging=java-source
-DrepositoryId=jboss-releases-repository
-Durl=https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/
+ mvn deploy:deploy-file -DpomFile=pom.xml
-Dfile=output/lib/jboss-remoting-${version}-sources.jar -Dpackaging=java-source
-DrepositoryId=jboss-releases-repository
-Durl=https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/
+
Property changes on: remoting2/branches/2.2/src/etc/maven_deploy
___________________________________________________________________
Added: svn:executable
+ *
Show replies by date