CVS update: JGroups/bin release_to_local_repo.sh
"Bela Ban" <[email protected]> Thu, 30 Sep 2010 14:07:10 +0000
| Newsgroups | gmane.comp.java.javagroups.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: belaban Date: 10/09/30 14:07:10 Added: bin release_to_local_repo.sh Log: new script to upload artifacts to the local maven repository Revision Changes Path 1.1 JGroups/bin/release_to_local_repo.sh Index: release_to_local_repo.sh =================================================================== #!/bin/bash # Uploads the artifacts in ./dist (JAR and src JAR) to the local repo ($HOME/.ms/jboss-repository) # so we can do local testing before uploading to the Nexus maven repo # Author: Bela Ban # version: $Id: release_to_local_repo.sh,v 1.1 2010/09/30 14:07:10 belaban Exp $ DIST=../dist POM=../pom.xml JAR=`find $DIST -name "jgroups-*.jar" | grep -v source` SRC_JAR=`find $DIST -name "jgroups-*.jar" | grep source` REPO=file:$HOME/.m2/jboss-repository echo "Deploying $JAR to $REPO" mvn deploy:deploy-file -Dfile=$JAR -Durl=$REPO -DpomFile=$POM -DrepositoryId=jboss-releases-repository echo "Deploying $SRC_JAR to $REPO" mvn deploy:deploy-file -Dfile=$SRC_JAR -Durl=$REPO -DpomFile=$POM -Dclassifier=sources -DrepositoryId=jboss-releases-repository ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev