From: fridodev <fri...@gm...> - 2012-06-22 10:58:45
|
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 |