Try to find out why it hangs first (run with -X or execute the same command remotely on the command line). Site plugin 2.1 lets you customize the chmod command [1] so you might be able to work around it.

HTH,
-Lukas

[1] http://maven.apache.org/plugins/maven-site-plugin/deploy-mojo.html


Bram Van Dam wrote:
G'day,

I've got my pom configured to upload a site through SFTP:

<site>
  <id>website</id>
  <url>sftp://f...@bar/site</url>
</site>

Doing a site:deploy works just fine, in the sense that the site gets uploaded. However, then a chmod is attempted and the whole thing hangs forevermore.

Transfer finished. 4209 bytes copied in 0.542 seconds
Executing command: chmod -Rf g+w,a+rX /site

Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_18

Any suggestions on how to fix this?

 - Bram

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to