for remote repository

*check wagon-ssh-external-1.0-alpha-5.jar in your $MAVEN_HOME/lib
*check your settling.xml
*make sure u have this in setting.xml

<server>
      <id>my-repository</id>
      <username>myname</username>
      <!-- Default value is ~/.ssh/id_dsa -->
       <filePermissions>664</filePermissions>
       <directoryPermissions>775</directoryPermissions>
    </server>
        

   1. $mvn deploy:deploy-file -U (to get deploy-plugin downloaded)
2. cp ~/.m2/repository/org/apache/maven/wagon/wagon-ssh-external/ 1.0-alpha-5/wagon-ssh-external-1.0-alpha-5.jar $MAVEN_HOME/lib

mvn deploy:deploy-file
    -DgroupId=<groupId>
    -DartifactId=<artifactId>
    -Dversion=<version>
    -Dpackaging=<packaging>
    -Dfile=<path-to-file>
    -DrepositoryId=<id-to-map-on-server>
    -Durl=<url-of-remote-repo>

$mvn deploy:deploy-file -U -DgroupId=com.clarkware.junitperf - DartifactId=junitperf -Dversion=1.9.1 -Dpackaging=jar - Dfile=junitperf-1.9.1.jar -DrepositoryId=my-repository -Durl=scpexe:// mydomain/export/home/myuser/maven-proxy/target/repo
~manchi


On Jan 18, 2006, at 9:46 PM, Jake Pezaro wrote:

i want to deploy a 3rd party jar (which is already in my local
repository) to the remote repository that we have set up on one of our
servers.  what command should i use to do this?

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to