Re: Avoid change folder permission when using maven site deploy plugin

2016-02-03 Thread Karl Heinz Marbaise

On 2/3/16 8:13 PM, Tim Wu T wrote:

Hi All,


When we deploy the site to our Linux server, I found maven will execute "chmod 
-Rf g+w,a+rX
" in the log folder every time, and this will takes very long time (Maybe 5-6 
minutes)


Can show a little bit more of your log output and in particular which 
Maven version, which plugin do you use? How do you deploy the site ? How 
is Maven called in this case?


Kind regards
Karl Heinz Marbaise


Is there any way to avoid this?

Thanks very much.

Br,
Tim





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



RE: Avoid change folder permission when using maven site deploy plugin

2016-02-03 Thread Tim Wu T
Hi,

Sure, I use maven 3.0.4, the plugin is very normal, maven site plugin 3.4, the 
wagon I use is:


org.apache.maven.wagon
wagon-ssh-external
2.6



Log output:
19:17:48 [INFO] Executing command: /bin/sh -c ssh -i /home/hello/.ssh/id_rsa -o 
'BatchMode yes' abc.def.com 'cd "/proj/webdocs/hello /root/my-docs/my-project"; 
unzip -q -o "wagon9211309153059078952.zip"; rm -f 
"wagon9211309153059078952.zip"'
19:18:25 [INFO] 
19:18:25 [INFO] 
19:18:25 [INFO] Executing command: chmod -Rf g+w,a+rX 
/proj/webdocs/hello/root/my-docs/
19:18:25 [INFO] Executing command: /bin/sh -c ssh -i /home/ hello /.ssh/id_rsa 
-o 'BatchMode yes' abc.def.com 'chmod -Rf g+w,a+rX 
/proj/webdocs/hello/root/my-docs/'

It takes very very long time to change the permissions as this folder contains 
lots of site files.

Br,
Tim
-Original Message-
From: Karl Heinz Marbaise [mailto:khmarba...@gmx.de] 
Sent: 2016年2月3日 20:47
To: Maven Users List
Subject: Re: Avoid change folder permission when using maven site deploy plugin

On 2/3/16 8:13 PM, Tim Wu T wrote:
> Hi All,
>
>
> When we deploy the site to our Linux server, I found maven will 
> execute "chmod -Rf g+w,a+rX " in the log folder every time, and this 
> will takes very long time (Maybe 5-6 minutes)

Can show a little bit more of your log output and in particular which Maven 
version, which plugin do you use? How do you deploy the site ? How is Maven 
called in this case?

Kind regards
Karl Heinz Marbaise
>
> Is there any way to avoid this?
>
> Thanks very much.
>
> Br,
> Tim
>
>


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