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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]