> > how ever we shall find a way to set up correct
> > permissions on repository
> > ( group id is xdoclet, which is correct, but
> > directories shall be group writable... )

Hmm, it seems it can only be set in the user settings file.. doesn't
seem to be settable per project. So you need something like this in
~/.m2/settings.xml :

<settings xmlns="http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd
">
    <servers>
        <server>
            <id>codehaus</id>
            <username>gjoseph</username>
            <privateKey>/Users/greg/.ssh/id_dsa</privateKey>
            <filePermissions>664</filePermissions>
            <directoryPermissions>775</directoryPermissions>
        </server>
    </servers>
</settings>

Thing is, the directoryPermissions doesn't seem to be taken into
account - I had to manually change these. They're sticky though, so
except if had a 3rd module, we should be all set.

Cheers,

g

Reply via email to