You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Bram Van Dam <br...@cronos.be> on 2010/01/27 10:23:34 UTC
site:deploy hangs on chmod?
G'day,
I've got my pom configured to upload a site through SFTP:
<site>
<id>website</id>
<url>sftp://foo@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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: site:deploy hangs on chmod?
Posted by Wayne Fay <wa...@gmail.com>.
> Transfer finished. 4209 bytes copied in 0.542 seconds
> Executing command: chmod -Rf g+w,a+rX /site
What happens if you log into that server as that same user and execute
the same chmod command?
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: site:deploy hangs on chmod?
Posted by Lukas Theussl <lt...@apache.org>.
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://foo@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-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org