Re: [M2] Pb Release and preserve timestamps

2007-11-22 Thread Rémy Sanlaville
Hi Lee, I am not sure to have been enough clear about my problem/context. Let's assume that we are a team working in a same project (possibly in different site). We want to be able that different person can make a release. The problem is that, as I mentioned before, is not possible for the

Re: [M2] Pb Release and preserve timestamps

2007-11-21 Thread Rémy Sanlaville
I tried to go more in depth to understand the problem. In short: It seems that the problem comes from the class org.apache.maven.wagon.providers.ssh.jsch.SftpWagon from wagon-ssh version 1.0-beta-2 In fact, in line 88 86if ( permissions != null permissions.getFileMode() != null ) 87

Re: [M2] Pb Release and preserve timestamps

2007-11-21 Thread Lee Meador
The account you use to log in for SFTP needs to own the deployed artifacts. If your account does not have permission to replace the file on the server, the owner account does not want you to be replacing it. Only the owner (or root) is allowed to set the permissions on the file according to their

[M2] Pb Release and preserve timestamps

2007-11-07 Thread Rémy Sanlaville
Hi, When I try to do a release with the maven-release-plugin, it seems that it (or certainly wagon) asks to preserve the timestamps when deploying my artifact to my repository. My problem is if I am not the owner of the file (for instance the maven-metadata.xml file), it fails when deploying my