To help out with the SCP message did you try: ... adding a '.ssh' folder on the client machine's home dir (C:\Documents and Settings\user\.ssh). This is obviously a win os for the client.
Michael -----Original Message----- From: Richard Gould [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 8:02 PM To: Maven Users List Subject: Unable to perform SCP transfer during mvn release:perform While issuing a release:perform command for the GeoTools project, I seem unable to upload the packages using SCP to the repository server. I have tried both the "scp" and "scpexe" methods. Each give a different error. The full error messages are at the bottom of this email. The command I used to execute them was "mvn -X release:perform". SCP says: The authenticity of host 'maven.geotools.fr' can't be established. RSA key fingerprint is ae:31:42:8a:55:ba:f1:af:51:90:fd:b8:21:cc:17:e9. SCPEXE says: Exit code 255 - Permission denied (publickey,keyboard-interactive). I am afraid I am not that fluent with ssh/scp to immediately diagnose the problem. I can successfully ssh in using the user/pass specified in ~/.m2/settings.xml (included below). I am able to successfully upload a file using scp with this command: scp pom.xml [EMAIL PROTECTED]:/var/www/geotools.fr/maven/repository/org/geo tools/gt2/2.2.RC3/gt2-2.2.RC3.pom So I don't quite understand why these scp commands are failing. The main pom.xml that I am releasing against is viewable at the following URL, but I have included the distributionManagement element below. http://svn.geotools.org/geotools/tags/2.2.RC3/pom.xml Thanks, Richard **** ~/.m2/settings xml **** <settings> <servers> <server> <id>geotools-fr</id> <username>xxx</username> <password>xxx</password> <!-- the configuration element was not present during the first execution of 'scp', but it doesn't seem to matter --> <configuration> <sshExecutable>ssh</sshExecutable> <scpExecutable>scp</scpExecutable> </configuration> </server> </servers> </settings> **** Section of main pom.xml **** <distributionManagement> <repository> <id>repository</id> <name>Geotools release repository</name> <url>scpexe://maven.geotools.fr/var/www/geotools.fr/maven/repository</ur l> </repository> </distributionManagement> **** FULL SCP ERROR **** [INFO] ------------------------------------------------------------------------ ---- [INFO] Building Geotools 2 [INFO] task-segment: [deploy] [INFO] ------------------------------------------------------------------------ ---- [INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugin:attach-descriptor [INFO] Preparing javadoc:jar [INFO] [javadoc:javadoc] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package [INFO] [javadoc:jar {execution: attach-javadocs}] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: attach-sources}] [INFO] NOT adding sources to attached artifacts for packaging: 'pom'. [INFO] [install:install] [INFO] Installing /home/rgould/dev/gt-2.2.x/2.2.x/target/checkout/pom.xml to /home/rgould/.m2/repository/org/geotools/gt2/2.2.RC3/gt2-2.2.RC3.pom [INFO] [deploy:deploy] The authenticity of host 'maven.geotools.fr' can't be established. RSA key fingerprint is ae:31:42:8a:55:ba:f1:af:51:90:fd:b8:21:cc:17:e9. **** FULL SCPEXE ERROR **** [INFO] ------------------------------------------------------------------------ ---- [INFO] Building Geotools 2 [INFO] task-segment: [deploy] [INFO] ------------------------------------------------------------------------ ---- [INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugin:attach-descriptor [INFO] Preparing javadoc:jar [INFO] [javadoc:javadoc] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package [INFO] [javadoc:jar {execution: attach-javadocs}] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: attach-sources}] [INFO] NOT adding sources to attached artifacts for packaging: 'pom'. [INFO] [install:install] [INFO] Installing /home/rgould/dev/gt-2.2.x/2.2.x/target/checkout/pom.xml to /home/rgould/.m2/repository/org/geotools/gt2/2.2.RC3/gt2-2.2.RC3.pom [INFO] [deploy:deploy] Uploading: scpexe://maven.geotools.fr/var/www/geotools.fr/maven/repository/org/geot ools/gt2/2.2.RC3/gt2-2.2.RC3.pom [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error deploying artifact: Error executing command for transfer Exit code 255 - Permission denied (publickey,keyboard-interactive). [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9 seconds [INFO] Finished at: Wed May 10 17:24:45 PDT 2006 [INFO] Final Memory: 19M/34M [INFO] ------------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
