Skip to content

Instantly share code, notes, and snippets.

@deevis
Created January 13, 2013 00:57
Show Gist options
  • Save deevis/4521473 to your computer and use it in GitHub Desktop.
Save deevis/4521473 to your computer and use it in GitHub Desktop.
Deploy a jar to a maven 2 repository
mvn deploy:deploy-file -Dfile=./hibernate-validator-3.1.0.GA-sources.jar -DgroupId=org.hibernate -DartifactId=hibernate-validator -Dversion=3.1.0.GA -Dpackaging=jar -DgeneratePom=true -Durl=sftp://soa.dev.hq.icentris:22/home/soa/tomcat/webapps/ROOT/repository2 -DrepositoryId=local2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment