You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by em...@free.fr on 2003/12/10 13:56:33 UTC

ear/war:deploy problem

Hi,
I want to deploy my artifacts (jar, ear, war...) on out remote reposipory. We
use scp protocole with key authentification.

When I use jar:deploy, it is working fine (I think it is using my Putty
configuration).
When I use ear/war:deploy (which use artifact plugin) it is fail. I've got this
exception : 

com.jcraft.jsch.JSchException: invaid privatekey: C:\win32app\ssh\maven_private.PPK
        at com.jcraft.jsch.Identity.<init>(Unknown Source)
        at com.jcraft.jsch.JSch.addIdentity(Unknown Source)
        at
org.apache.maven.deploy.deployers.GenericSshDeployer.init(GenericSshDeployer.java:163)


My build.properties contain :

# For jar:deploy
maven.ssh.executable=C:\\win32app\\ssh\\plink.exe
maven.scp.executable=C:\\win32app\\ssh\\pscp.exe
maven.username=maven
maven.repo.central=remote-maven-01
maven.repo.central.directory=/var/www/html/maven-repository
maven.remote.group=apache 

# For artifact:deploy
maven.repo.list=remote-maven-01
maven.repo.gieoracle1=scp://remote-maven-01
maven.repo.gieoracle1.username=maven
maven.repo.gieoracle1.directory=/var/www/html/maven-repository
maven.repo.gieoracle1.group=apache
maven.repo.gieoracle1.privatekey=C:\\win32app\\ssh\\maven_private.PPK
maven.repo.gieoracle1.passphrase=****


Any idea ?
Thx,
-emmanuel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org