Hi Noam,
Thank you for the answer!
unfortunately i'm quite sure that i'm sure that nobody edited the snapshot
repository policiy (i'm the only admin on the app).
In fact actually the snapshot repository does not contains release packages.

Into the pom.xml there is no dependency declared as pom, so i don't know
how to solve..
I also tried to zap the cache of remote repo!

Any ideas?
Regards
Federico


2012/6/24 Noam Y. Tenne <[email protected]>

> Unless it isn't actually stored in the repo but simply being requested
> from it as the it appears as a reference.
> In any case, repository references within POM files are in general bad
> practice and should be removed when possible.
>
> On Sun, Jun 24, 2012 at 10:39 PM, Noam Y. Tenne <[email protected]> wrote:
>
>> The policy of the repo in question was most likely modified at one point
>> to accept release versions; if the logs were maintained since the time of
>> the artifact's deployment, they'll probably reveal the culprit
>>
>> On Fri, Jun 22, 2012 at 1:58 PM, fridodev <[email protected]> wrote:
>>
>>> Dear List,
>>> i fear my issue is due to a bad configuration, because I'm having this
>>> error (in artifactory logs).
>>>
>>> Sending HTTP error code 409: The repository 'libs-snapshot-local'
>>> rejected the artifact
>>> 'libs-snapshot-local:antlr/antlr/2.7.7/antlr-2.7.7.pom' due to its
>>> snapshot/release handling policy..
>>>
>>> It appears quite strange that an external dependency like antlr (but
>>> also others dependencies) is cached into a libs-snapshot-local!
>>> I see it's already cached here:
>>> artifactory/simple/repo1-cache/antlr/antlr/2.7.7/
>>>
>>> so why artifactory should try to store this package (but also other
>>> remote) into libs-snapshot local?
>>>
>>> This is the declaration of repositories into the pom.xml
>>>
>>> <repositories>
>>>     <repository>
>>>       <id>Artifactory-DV-releases</id>
>>>       <name>Artifactory-DV-releases</name>
>>>       <url>http://Artifactory-DV:8081/artifactory/libs-release-local
>>> </url>
>>>     </repository>
>>>     <repository>
>>>       <id>Artifactory-DV-snapshots</id>
>>>       <name>Artifactory-DV-snapshots</name>
>>>       <url>http://Artifactory-DV:8081/artifactory/libs-snapshot-local
>>> </url>
>>>     </repository>
>>>     <repository>
>>>       <id>Artifactory-DV-ext-release-local</id>
>>>       <name>Artifactory-DV-ext-release-local</name>
>>>       <url>http://Artifactory-DV:8081/artifactory/ext-release-local
>>> </url>
>>>     </repository>
>>>     <repository>
>>>       <id>Artifactory-DV-remote-repos</id>
>>>       <name>Artifactory-DV-remote-repos</name>
>>>       <url>http://Artifactory-DV:8081/artifactory/remote-repos</url>
>>>     </repository>
>>>     <repository>
>>>       <id>Artifactory-DV-repo</id>
>>>       <name>Artifactory-DV-repo</name>
>>>       <url>http://Artifactory-DV:8081/artifactory/repo</url>
>>>     </repository>
>>>   </repositories>
>>>
>>>
>>> Regarding the Artifactory configuration, obviously into the virtual
>>> repository remote-repos is not present libs-snapshot-local.
>>>
>>> Thank you
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Live Security Virtual Conference
>>> Exclusive live event will cover all the ways today's security and
>>> threat landscape has changed and how IT managers can respond. Discussions
>>> will include endpoint security, mobile security and the latest in malware
>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>> _______________________________________________
>>> Artifactory-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>>
>>>
>>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>


-- 
--
Federico Paolantoni
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to