Hi Peter, Yes that was a typo, sorry. :) The artifactory logs don't say anything. I see the artifacts being uploaded and indexed properly (through the logs, and the interface).
I've created a test project in github: https://github.com/townsfolk/artifactory_test If you have artifactory running anywhere, this should produce the errors. Here are the steps I've used to recreate the issue consistently. In the "library" project run 'gradle uploadArchives'. In the "app" project run 'gradle build'. This should build perfectly. Then change the version of "library" to '11.2-SNAPSHOT', and run 'gradle clean uploadArchives'. In "app", change the "libary" dependency accordingly, and run 'gradle clean build' Now it fails during the "test" task with: [quote] :::::::::::::::::::::::::::::::::::::::::::::: :: UNRESOLVED DEPENDENCIES :: :::::::::::::::::::::::::::::::::::::::::::::: :: com.example#the-library;11.2-SNAPSHOT: not found :::::::::::::::::::::::::::::::::::::::::::::: FAILURE: Build failed with an exception. * What went wrong: Could not resolve all dependencies for configuration ':testRuntime': - unresolved dependency: com.example#the-library;11.2-SNAPSHOT: not found [/quote] If you delete 11.1-SNAPSHOT from artifactory and run 'gradle clean build' from the "app" project again, it works. However, and this is very weird to me, If I go back to "library" and change the version to 11.1-SNAPSHOT, and then do another 'uploadArchives' - the "app" project continues to build successfully. It doesn't make any sense to me, and there is nothing in the artifactory logs. On Sun, May 8, 2011 at 4:16 PM, Peter Niederwieser <[email protected]>wrote: > I've never heard of this problem before. It might help to have a look at > Artifactory's logs. By the way, you first say "my.host.com" and later > "svn.host.com". Is this a typo? > > -- Learn from the past. Live in the present. Plan for the future. Blog: http://eric-berry.blogspot.com jEdit <http://www.jedit.org> - Programmer's Text Editor Bazaar <http://bazaar.canonical.com> - Version Control for Humans
