On 7/25/07, David Jencks <[EMAIL PROTECTED]> wrote:
we did a couple of experiments here and we think you need to:

set umask 2 in .bashrc.  For non-interactive remote shell access such as
through scp this is the file executed, not .bash_profile

in ~/.m2/settings.xml set

           <directoryPermissions>775</directoryPermissions>
           <filePermissions>664</filePermissions>
for each repository you are deploying to.  We're not so sure about the 2nd
point, but this works for me and we found that the source file permissions
do have an effect on the target file permissions together with the umask,
and these settings affect what maven presents as the source file
permissions.

The combination of both of these settings (.bashrc && settings.xml)
worked for me.  Nice!

With just umask it didn't work.

Enrique

Reply via email to