On 1/31/06, jerome lacoste <[EMAIL PROTECTED]> wrote:
> On 1/31/06, Brett Porter <[EMAIL PROTECTED]> wrote:
> > It shouldn't be necessary - the mojo group that you are in can write to
> > the mojo area of the repo (if that's not the case, let me know). You
> > should perform it as lacostej.
>
> It works now. Thanks.

Talked too fast. It worked for one plugin but not for another one.

I wasn't able to update the metadata file for an already deployed plugin:

[ERROR] BUILD ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] Error installing artifact's metadata: Error while deploying
metadata: SCP terminated with error: 'scp:
/home/projects/maven/repository-staging/snapshots/maven2/org/codehaus/mojo/keytool-maven-plugin/maven-metadata.xml:
Permission denied'

See:

[EMAIL PROTECTED] lacostej]$ ls -la
/home/projects/maven/repository-staging/snapshots/maven2/org/codehaus/mojo/keytool-maven-plugin/
total 28
drwxrwxr-x    4 brianfox users        4096 Jan 31 12:44 .
drwxrwxr-x   46 maven    mojo         4096 Jan 31 12:36 ..
drwxrwxr-x    2 brianfox users        4096 Jan 15 23:26 0.3-SNAPSHOT
drwxr-xr-x    2 lacostej users        4096 Jan 31 12:44 0.4-SNAPSHOT
-rw-r--r--    1 brianfox users         361 Jan 15 23:26 maven-metadata.xml
-rw-r--r--    1 brianfox users          32 Jan 15 23:26 maven-metadata.xml.md5
-rw-r--r--    1 brianfox users          40 Jan 15 23:26 maven-metadata.xml.sha1

The file is read only for me, but the repository is writable by users
so it should work (I definitively can force the writing of the file in
vi).

Another potential issue is that the 0.4-SNAPSHOT directory is now
rwxr-xr-x instead of rwxrwxr-x. Is that an umask issue?

J

Reply via email to