I am trying to run mvn deploy:deploy-file using PSCP using maven 3 on windows 7. I have made it work without using maven using the following command:
pscp bob.txt m...@repository:/var/lib/tomcat5.5/webapps/p2/deploytest/bob.txt but when I try to run the following maven goal: mvn deploy:deploy-file -Durl=pscp://repository/var/lib/tomcat5.5/webapps/p2/deploytest/ -DrepositoryId=ssh-repository -DgroupId=javax.j2ee -DartifactId=javaee -Dversion=5.0.FCS -Dpackaging=jar -Dfile=bob.txt I just get the error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy-file (default-cli) on project standalone-pom: Failed to deploy artifacts/metadata: No connector available to access repository 'ssh-repository' (pscp://repository/var/lib/tomcat5.5/webapps/p2/deploytest/) of type 'default' -> [Help 1] In .m2/settings.xml I have: <server> <id>ssh-repository</id> <username>mm</username> <password>mypass</password> <filePermissions>700</filePermissions> <directoryPermissions>700</directoryPermissions> <configuration> <sshExecutable>plink</sshExecutable> <scpExecutable>pscp</scpExecutable> <!-- <sshArgs>other arguments you may need</sshArgs> --> </configuration> any ideas on how to make pscp work with maven? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org