[ http://jira.codehaus.org/browse/MSITE-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_128199 ]
Adam C. Migus commented on MSITE-25: ------------------------------------ Here's my server declaration from settings.xml: <servers> <server> <id>jws.website</id> <username>amigus</username> <privateKey>${user.home}/id_dsa.ppk</privateKey> <directoryPermissions>0775</directoryPermissions> <filePermissions>0664</filePermissions> <configuration> <sshExecutable>C:\Program Files\PuTTY\plink.exe</sshExecutable> <sshArgs>-batch -C</sshArgs> <scpExecutable>C:\Program Files\PuTTY\pscp.exe</scpExecutable> <scpArgs>-q -batch -C</scpArgs> </configuration> </server> </servers> Here's the end of the output (with hostname changed): ... [INFO] [site:deploy] scpexe://myhost.mydomain.com/web/code/docs/jws/code - Session: Opened Executing command: cmd.exe /X /C '"ssh -i C:\Work\workspaces\jws\${user.home}\id_dsa.ppk -o "BatchMode yes" [EMAIL PROTECTED] "mkdir -p /web/code/docs/jws/code/.""' 'ssh' is not recognized as an internal or external command, operable program or batch file. scpexe://myhost.mydomain.com/web/code/docs/jws/code - Session: Disconnecting scpexe://myhost.mydomain.com/web/code/docs/jws/code - Session: Disconnected [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error uploading site Embedded error: Error performing commands for file transfer Exit code 1 - 'ssh' is not recognized as an internal or external command, operable program or batch file. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Fri Mar 21 16:12:57 EDT 2008 [INFO] Final Memory: 6M/12M [INFO] ------------------------------------------------------------------------ Also notice that ${user.home} is not getting dereferenced. Is that another bug? > mvn site:site ignores server configuration in settings.xml > ---------------------------------------------------------- > > Key: MSITE-25 > URL: http://jira.codehaus.org/browse/MSITE-25 > Project: Maven 2.x Site Plugin > Issue Type: Bug > Reporter: Alan Cabrera > Assignee: Carlos Sanchez > Priority: Critical > Fix For: 2.0-beta-6 > > Attachments: MSITE-25-01.patch, MSITE-25.txt, > patch-MSITE-25-artifact-manager.diff, patch-MSITE-25-site-plugin.diff > > > mvn site:site ignores parts of my settings.xml: > <server> > <id>livetribe-website</id> > <filePermissions>664</filePermissions> > <directoryPermissions>775</directoryPermissions> > <configuration> > <sshExecutable>plink</sshExecutable> > <scpExecutable>pscp</scpExecutable> > </configuration> > <username>livetribe</username> > </server> > It uses the username when ssh but does not invoke plink. > [INFO] [site:deploy] > Using private key: C:\Documents and Settings\adc\.ssh\id_dsa > scpexe://repo.livetribe.org/home/projects/livetribe/public_html/maven/ - > Session: Opened > Executing command: ssh -i "C:\Documents and Settings\adc\.ssh\id_dsa" -o > "BatchMode yes" [EMAIL PROTECTED] "mkdir -p > /home/projects/livetribe/public_html/maven/." > scpexe://repo.livetribe.org/home/projects/livetribe/public_html/maven/ - > Session: Disconnecting > scpexe://repo.livetribe.org/home/projects/livetribe/public_html/maven/ - > Session: Disconnected -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira