felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall" <he...@ungoverned.org>
Subject Re: Felix snapshots
Date Wed, 24 Oct 2007 17:24:11 GMT
Chris Custine wrote:
> This is a byproduct of the maven deploy plugin.  The best way to take care
> of this is to have everyone doing snapshot deployments do the following
> things:
>
> 1). set umask 2 in ~/.bashrc (user's home on people.apache.org)
>   

This seems to be the default...

> 2). in ~/.m2/settings.xml on your development machine, set the following
> settings for each repository entry that you deploy snapshots to.:
>            <directoryPermissions>775</directoryPermissions>
>            <filePermissions>664</filePermissions>
>   

Is this something we can set in our POM file for the project?

-> richard

> Hope this helps!
>
> Chris
>
> On 10/24/07, Richard S. Hall <heavy@ungoverned.org> wrote:
>   
>> We have an issue with our snapshot repo...
>>
>> I just tried to "mvn deploy" the framework subproject and I get a
>> permission denied error:
>>
>> [INFO] Error installing artifact's metadata: Error while deploying
>> metadata: SCP terminated with error: 'scp:
>>
>> /www/people.apache.org/repo/m2-snapshot-repository/org/apache/felix/org.apache.felix.framework/1.1.0-SNAPSHOT/maven-
>> metadata.xml:
>> Permission denied'
>>
>> Looking into the snapshot repo we see:
>>
>> -rw-r--r--  1 fmeschbe  apcvs     376 Aug 21 12:13 maven-metadata.xml
>>
>> So, it looks like Felix previously deployed a snapshot and now I no
>> longer have permission to deploy a snapshot since I cannot overwrite his
>> file. What is going on here? I would assume that Maven would allow
>> multiple people to work together. Do we have something configured
>> incorrectly?
>>
>> -> richard
>>
>>     
>
>   

Mime
View raw message