I'm having problems using putty with the mvn-deploy-plugin plugin.
Running: mvn deploy
This is what my settings.xml looks like:
<server> <id>website</id> <username>user</username> <configuration> <sshExecutable>c:\putty\plink</sshExecutable> <scpExecutable>c:\putty\pscp</scpExecutable> </configuration> </server>
It always discards the same message, which does not lead to great results on Google. It calls the website and then executes the scp command.
[ERROR] BUILD ERROR
[INFO] Error retrieving previous build number for the artifact 'com.mycompany.myproject: project: war': repository metadata for: 'snapshot com.mycomany.myproject: project: 2.3-SNAPSHOT' could not be retrieved from the repository: snapshots.liege from -for an error: when setting up the station wagon for the "website": it is impossible to use the configuration of the car.
Cannot find setter nor field in org.apache.maven.wagon.providers.ssh.jsch.ScpWagon for 'sshExecutable'
I tried adding exe (which makes more sense to me), and that doesn't make any difference.
source share