I can deploy the same file via the UI deployer. So that got me thinking. 
I found that my distributionManagement in Maven was not configured 
properly. I forgot 'repository' besides the 'snapshotRepository' tag.
But now I'm facing another problem:

Failed to execute goal org.apache.felix:maven-bundle-plugin:2.1.0:deploy 
(default-deploy) on project com.main.bundle: Authorization failed: 
Transfer failed: Not authorized

So the .pom and the .jar file are uploaded succesfull, but when 
uploading the .lock file, the authorization failes...

I guess it's not an artifactory issue? :)



Noam Y. Tenne schreef:
> This shouldn't happen. This message is displayed only for policy rejections.
> Does this still happen if you deploy the same file via the UI deployer?
>
> On 06/06/2010 03:30 PM, petergent wrote:
>   
>> Thx for the reply.
>> The thing is: when I check "Handle Releases" and "Handle Snapshots"
>> both, I still receive this error.
>> The inclue pattern is is ' **/* '.
>> It's like Artifactory doesn't accept the 'repository.xml.lock' file.
>>
>> Yours,
>> Peter
>>
>> Noam Y. Tenne schreef:
>>    
>>     
>>> To change the policy of a repository, simply browse through (the web
>>> UI) to Admin ->  Configuration ->  Repositories and double-click the
>>> name of the repository you wish to edit (or select "edit" from the
>>> pop-up menu) to display the editor. Once in the editor you will notice
>>> the "Handle Releases" and "Handle Snapshots" checkboxes.
>>> You can find further configuration info in our wiki
>>> <http://wiki.jfrog.org/confluence/display/RTF/Managing+Repositories>.
>>>
>>> Have fun,
>>> Noam
>>>
>>> On 06/05/2010 09:47 PM, petergent wrote:
>>>      
>>>       
>>>> Hi!
>>>>
>>>> I'm having this issue:
>>>> "Sending HTTP error code 409: The repository 'libs-snapshots-local' 
>>>> rejected
>>>> the artifact 'libs-snapshots-local:repository.xml.lock" due to its
>>>> snapshot/release handling policy."
>>>>
>>>> How can I change the policy to allow this file?
>>>> This file comes from the maven-bundle-plugin from Apache Felix.
>>>>
>>>> Thank you in advance!
>>>> Yours,
>>>> Peter
>>>>
>>>>        
>>>>         
>>> ------------------------------------------------------------------------
>>>
>>> ------------------------------------------------------------------------------
>>> ThinkGeek and WIRED's GeekDad team up for the Ultimate
>>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
>>> lucky parental unit.  See the prize list and enter to win:
>>> http://p.sf.net/sfu/thinkgeek-promo
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Artifactory-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>>
>>>      
>>>       
>> ------------------------------------------------------------------------------
>> ThinkGeek and WIRED's GeekDad team up for the Ultimate
>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
>> lucky parental unit.  See the prize list and enter to win:
>> http://p.sf.net/sfu/thinkgeek-promo
>> _______________________________________________
>> Artifactory-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>    
>>     
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>   


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to