Re: filePermissions ignored during site-deploy with SCP

2009-08-05 Thread Lukas Theussl


There is a guide for testing snapshots here [1], but your problem seems related to 
archiva, you should get better help on the corresponding list.


-Lukas

[1] 
http://maven.apache.org/guides/development/guide-testing-development-plugins.html


JeremieB wrote:

Hi and thanks for reply,

I'm trying to test this but fail since now.

I added repository for apache snapshots in my archiva proxy connectors list,
but now it seems nothing works anymore ...

My build downloads .pom and metadata for maven-site-plugin 2.1-SNAPSHOT, but
it's not able to download the jar in any way.
Installing manually the .jar seem to make things progress, but still my
build is not able to download any SNAPSHOT dependency of site-plugin from my
archiva server. Logs show only a bunch of Read time out.

I really do not understand a thing of what's happening :/


ltheussl wrote:


The permission settings in server are not used anymore since maven 2.1
[1]. The 
chmod command is optional and configurable in the current
site-plugin-2.1-SNAPSHOT 
[2], you can test it eg like



chmodModeg+w,a+rX/chmodMode
chmodOptions-Rf/chmodOptions

Note however that there are some pitholes [3].

HTH,
-Lukas


[1] http://jira.codehaus.org/browse/MNG-3600
[2] http://jira.codehaus.org/browse/MSITE-141
[3] http://jira.codehaus.org/browse/MSITE-330





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



Re: filePermissions ignored during site-deploy with SCP

2009-08-05 Thread JeremieB

It works now I declared a separate repository in archiva for plugins
snapshots.
Not sure it was from Archiva, maybe what was missing also is that it was not
declared as a pluginRepository in maven. BTW now as expected permissions
are managed the way I wanted by site plugin :)
-- 
View this message in context: 
http://www.nabble.com/filePermissions-ignored-during-site-deploy-with-SCP-tp24804640p24823841.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: filePermissions ignored during site-deploy with SCP

2009-08-04 Thread Lukas Theussl


The permission settings in server are not used anymore since maven 2.1 [1]. The 
chmod command is optional and configurable in the current site-plugin-2.1-SNAPSHOT 
[2], you can test it eg like



chmodModeg+w,a+rX/chmodMode
chmodOptions-Rf/chmodOptions

Note however that there are some pitholes [3].

HTH,
-Lukas


[1] http://jira.codehaus.org/browse/MNG-3600
[2] http://jira.codehaus.org/browse/MSITE-141
[3] http://jira.codehaus.org/browse/MSITE-330


JeremieB wrote:

Hi,

I'm quite new to Maven and facing an issue I could not workaround.

I'm using Maven 2.2.0, and using site-deploy to deploy my generated site to
a webserver, through scp.

Here are the settings server I use :
server
  idGGS-website/id
  usernamemylogin/username
  privateKeyD:\Documents and Settings\mylogin\.ssh\id_rsa/privateKey
  filePermissions777/filePermissions
  directoryPermissions777/directoryPermissions
/server

My distribution management section :
site
idGGS-website/id
nameSite webserver for GGS projects/name

urlscp://${site.host}/opt/apache2/htdocs/projects/${project.groupId}/url
/site

Deployment works well, except that whatever I put in filePermissions or
directoryPermissions, my files get created with permissions 644 on the
webserver.
I tried to use wagon-ssh in version 1.0-beta-6 as I saw issues close to
mine, but it did not correct the issue.

In logs following line confirm rights are set that do not match what I want
:
Executing command: chmod -Rf g+w,a+rX /opt/apache2/htdocs/projects/...

This is blocking issue for me, as it prevents anyone else from publishing
the same website again, as there is no common group assigned on the
webserver (and I can't change that).

I really don't know how to investigate ... How can I check what wagon
version is used for SCP ? I see nothing else in logs, and although I added
extension for 1.0-beta-6, still some dependencies on 1.0-beta-2 are
retrieved and I'm quite confused.

Thanks for help,
Jeremie



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



Re: filePermissions ignored during site-deploy with SCP

2009-08-04 Thread JeremieB

Hi and thanks for reply,

I'm trying to test this but fail since now.

I added repository for apache snapshots in my archiva proxy connectors list,
but now it seems nothing works anymore ...

My build downloads .pom and metadata for maven-site-plugin 2.1-SNAPSHOT, but
it's not able to download the jar in any way.
Installing manually the .jar seem to make things progress, but still my
build is not able to download any SNAPSHOT dependency of site-plugin from my
archiva server. Logs show only a bunch of Read time out.

I really do not understand a thing of what's happening :/


ltheussl wrote:
 
 
 The permission settings in server are not used anymore since maven 2.1
 [1]. The 
 chmod command is optional and configurable in the current
 site-plugin-2.1-SNAPSHOT 
 [2], you can test it eg like
 
 
 chmodModeg+w,a+rX/chmodMode
 chmodOptions-Rf/chmodOptions
 
 Note however that there are some pitholes [3].
 
 HTH,
 -Lukas
 
 
 [1] http://jira.codehaus.org/browse/MNG-3600
 [2] http://jira.codehaus.org/browse/MSITE-141
 [3] http://jira.codehaus.org/browse/MSITE-330
 

-- 
View this message in context: 
http://www.nabble.com/filePermissions-ignored-during-site-deploy-with-SCP-tp24804640p24810428.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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