Hi René, That worked perfectly. However there is one unintended consequence with this: I'm running a multi-project build where the web project is dependant on the service project which in turn is dependant on this external SNAPSHOT jar. When building, I can see the services jar download the SNAPSHOT dependency, but it downloads it again when building the web project (as the web is dependant on the services)
Should this be considered an issue? I believe it makes more sense to just have the snapshot downloaded once during the scope of the build even if the "setSnapshotTimeout" is set to 0. Thanks, Donal -----Original Message----- From: Rene Groeschke [mailto:[email protected]] Sent: 13 October 2010 18:03 To: [email protected] Subject: Re: [gradle-user] Downloading SNAPSHOT dependencies Hi Donald, gradle 0.9-rc1 introduces a default timeout for SNAPSHOT artifacts. As default gradle looks for a newer snapshot version only if the download of the latest snapshot is more than 24h ago. you can switch of this behaviour by setting the timeout for your maven repository to zero: repositories { mavenRepo(urls: "http://repo.mycompany.com/maven2").setSnapshotTimeout(0) } regards, René Am 13.10.10 18:54, schrieb Donal Mc Namee: > Hi, > > I'm having trouble downloading SNAPSHOT dependencies. > > > > I'm able to publish a SNAPSHOT artifact to our local Artifactory > snapshots-repository using the following code: > > > > apply { > > plugin 'maven' > > } > > > > version = '1.1-SNAPSHOT' > > > > uploadArchives { > > repositories.mavenDeployer { > > configuration = configurations.deployerJars > > repository(url: > "http://vmsys124:8081/artifactory/libs-release-local") { > > authentication(userName: "admin", password: "xxxxxxxx") > > } > > snapshotRepository(url: > "http://vmsys124:8081/artifactory/libs-snapshots-local") { > > authentication(userName: "admin", > password: " xxxxxxxx ") > > } > > } > > } > > > > And this seems to work fine. I can see that the new SNAPSHOT artifact is > published to Artifactory. > > > > However, my second project does not resolve this new snapshot. > > My dependency there is declared with the following: > > > > dependencies { > > compile 'ie.vhi:ea_app_common:1.1-SNAPSHOT' > > } > > > > The relevant output after running 'gradle -d' is below: > > > > 17:20:18.909 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - == > resolving dependencies > ie.vhi.myvhi#myvhi_app_service;1.0->ie.vhi#ea_app_common;1.1-SNAPSHOT > [compile->default] > > 17:20:18.909 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - loadData > of ie.vhi#ea_app_common;1.1-SNAPSHOT of rootConf=compile > > 17:20:18.909 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > using clientModuleChain to resolve ie.vhi#ea_app_common;1.1-SNAPSHOT > > 17:20:18.909 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > clientModuleChain: Checking cache for: dependency: > ie.vhi#ea_app_common;1.1-SNAPSHOT {compile=[default]} > > 17:20:18.909 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > no ivy file in cache for ie.vhi#ea_app_common;1.1-SNAPSHOT: tried > C:\Documents and > Settings\mcnamee_do\.gradle\cache\ie.vhi\ea_app_common\ivy-1.1-SNAPSHOT. > xml > > 17:20:18.909 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - chain: > Checking cache for: dependency: ie.vhi#ea_app_common;1.1-SNAPSHOT > {compile=[default]} > > 17:20:18.909 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - don't > use cache for ie.vhi#ea_app_common;1.1-SNAPSHOT: changing=true > > 17:20:18.909 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > http://vmsys124:8081/artifactory/repo1_poms: no namespace defined: using > system > > 17:20:18.909 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > no ivy file in cache for ie.vhi#ea_app_common;1.1-SNAPSHOT: tried > C:\Documents and > Settings\mcnamee_do\.gradle\cache\ie.vhi\ea_app_common\ivy-1.1-SNAPSHOT. > xml > > 17:20:18.956 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - HTTP > response status: 404 > url=http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAP > SHOT/maven-metadata.xml > > 17:20:18.956 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - CLIENT > ERROR: Not Found > url=http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAP > SHOT/maven-metadata.xml > > 17:20:18.956 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > maven-metadata not available: > http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAPSHOT > /maven-metadata.xml > > 17:20:18.956 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > trying > http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAPSHOT > /ea_app_common-1.1-SNAPSHOT.pom > > 17:20:18.956 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > tried > http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAPSHOT > /ea_app_common-1.1-SNAPSHOT.pom > > 17:20:18.956 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - HTTP > response status: 404 > url=http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAP > SHOT/ea_app_common-1.1-SNAPSHOT.pom > > 17:20:18.956 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - CLIENT > ERROR: The repository 'repo1' rejected the artifact > 'repo1:ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.pom' > due to its snapshot/release handling policy. > url=http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAP > SHOT/ea_app_common-1.1-SNAPSHOT.pom > > 17:20:18.956 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > http://vmsys124:8081/artifactory/repo1_poms: resource not reachable for > ie/vhi#ea_app_common;1.1-SNAPSHOT: > res=http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAP > SHOT/ea_app_common-1.1-SNAPSHOT.pom > > 17:20:18.956 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > maven-metadata not available: > http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAPSHOT > /maven-metadata.xml > > 17:20:18.956 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > trying > http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAPSHOT > /ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.956 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > tried > http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAPSHOT > /ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.971 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - HTTP > response status: 404 > url=http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAP > SHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.971 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - CLIENT > ERROR: The repository 'repo1' rejected the artifact > 'repo1:ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar' > due to its snapshot/release handling policy. > url=http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAP > SHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.971 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > http://vmsys124:8081/artifactory/repo1_poms: resource not reachable for > ie/vhi#ea_app_common;1.1-SNAPSHOT: > res=http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAP > SHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.971 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > http://vmsys124:8081/artifactory/repo1_poms: no ivy file nor artifact > found for ie.vhi#ea_app_common;1.1-SNAPSHOT > > 17:20:18.971 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - ivy > resolver didn't find dependency: ie.vhi#ea_app_common;1.1-SNAPSHOT > {compile=[default]}: trying with artifact resolver > > 17:20:18.971 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > http://vmsys124:8081/artifactory/repo1_jars: no namespace defined: using > system > > 17:20:18.971 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > no ivy file in cache for ie.vhi#ea_app_common;1.1-SNAPSHOT: tried > C:\Documents and > Settings\mcnamee_do\.gradle\cache\ie.vhi\ea_app_common\ivy-1.1-SNAPSHOT. > xml > > 17:20:18.971 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > trying > http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAPSHOT > /ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.971 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > tried > http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAPSHOT > /ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.971 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - HTTP > response status: 404 > url=http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAP > SHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.971 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - CLIENT > ERROR: The repository 'repo1' rejected the artifact > 'repo1:ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar' > due to its snapshot/release handling policy. > url=http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAP > SHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.971 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > http://vmsys124:8081/artifactory/repo1_jars: resource not reachable for > ie/vhi#ea_app_common;1.1-SNAPSHOT: > res=http://vmsys124:8081/artifactory/repo1/ie/vhi/ea_app_common/1.1-SNAP > SHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.971 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > trying > http://vmsys124:8081/artifactory/java.net.m2/ie/vhi/ea_app_common/1.1-SN > APSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.971 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > tried > http://vmsys124:8081/artifactory/java.net.m2/ie/vhi/ea_app_common/1.1-SN > APSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.987 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - HTTP > response status: 404 > url=http://vmsys124:8081/artifactory/java.net.m2/ie/vhi/ea_app_common/1. > 1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.987 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - CLIENT > ERROR: Not found > url=http://vmsys124:8081/artifactory/java.net.m2/ie/vhi/ea_app_common/1. > 1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.987 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > http://vmsys124:8081/artifactory/repo1_jars: resource not reachable for > ie/vhi#ea_app_common;1.1-SNAPSHOT: > res=http://vmsys124:8081/artifactory/java.net.m2/ie/vhi/ea_app_common/1. > 1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.987 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > trying > http://vmsys124:8081/artifactory/SpringFrameworkRelease/ie/vhi/ea_app_co > mmon/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.987 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > tried > http://vmsys124:8081/artifactory/SpringFrameworkRelease/ie/vhi/ea_app_co > mmon/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.987 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - HTTP > response status: 404 > url=http://vmsys124:8081/artifactory/SpringFrameworkRelease/ie/vhi/ea_ap > p_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.987 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - CLIENT > ERROR: Not Found > url=http://vmsys124:8081/artifactory/SpringFrameworkRelease/ie/vhi/ea_ap > p_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.987 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > http://vmsys124:8081/artifactory/repo1_jars: resource not reachable for > ie/vhi#ea_app_common;1.1-SNAPSHOT: > res=http://vmsys124:8081/artifactory/SpringFrameworkRelease/ie/vhi/ea_ap > p_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.987 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > trying > http://vmsys124:8081/artifactory/jboss/ie/vhi/ea_app_common/1.1-SNAPSHOT > /ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.987 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > tried > http://vmsys124:8081/artifactory/jboss/ie/vhi/ea_app_common/1.1-SNAPSHOT > /ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.987 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - HTTP > response status: 404 > url=http://vmsys124:8081/artifactory/jboss/ie/vhi/ea_app_common/1.1-SNAP > SHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.987 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - CLIENT > ERROR: The repository 'jboss' rejected the artifact > 'jboss:ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar' > due to its snapshot/release handling policy. > url=http://vmsys124:8081/artifactory/jboss/ie/vhi/ea_app_common/1.1-SNAP > SHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.987 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > http://vmsys124:8081/artifactory/repo1_jars: resource not reachable for > ie/vhi#ea_app_common;1.1-SNAPSHOT: > res=http://vmsys124:8081/artifactory/jboss/ie/vhi/ea_app_common/1.1-SNAP > SHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.987 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > trying > http://vmsys124:8081/artifactory/java.net.m1/ie/vhi/ea_app_common/1.1-SN > APSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:18.987 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > tried > http://vmsys124:8081/artifactory/java.net.m1/ie/vhi/ea_app_common/1.1-SN > APSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.331 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - HTTP > response status: 404 > url=http://vmsys124:8081/artifactory/java.net.m1/ie/vhi/ea_app_common/1. > 1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.331 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - CLIENT > ERROR: Not found > url=http://vmsys124:8081/artifactory/java.net.m1/ie/vhi/ea_app_common/1. > 1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.331 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > http://vmsys124:8081/artifactory/repo1_jars: resource not reachable for > ie/vhi#ea_app_common;1.1-SNAPSHOT: > res=http://vmsys124:8081/artifactory/java.net.m1/ie/vhi/ea_app_common/1. > 1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.331 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > trying > http://vmsys124:8081/artifactory/ext-releases-local/ie/vhi/ea_app_common > /1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.331 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > tried > http://vmsys124:8081/artifactory/ext-releases-local/ie/vhi/ea_app_common > /1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.331 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - HTTP > response status: 404 > url=http://vmsys124:8081/artifactory/ext-releases-local/ie/vhi/ea_app_co > mmon/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.331 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - CLIENT > ERROR: The repository 'ext-releases-local' rejected the artifact > 'ext-releases-local:ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1- > SNAPSHOT.jar' due to its snapshot/release handling policy. > url=http://vmsys124:8081/artifactory/ext-releases-local/ie/vhi/ea_app_co > mmon/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.331 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > http://vmsys124:8081/artifactory/repo1_jars: resource not reachable for > ie/vhi#ea_app_common;1.1-SNAPSHOT: > res=http://vmsys124:8081/artifactory/ext-releases-local/ie/vhi/ea_app_co > mmon/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.331 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > trying > http://vmsys124:8081/artifactory/com.springsource.repository.bundles.rel > ease/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.331 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > tried > http://vmsys124:8081/artifactory/com.springsource.repository.bundles.rel > ease/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.331 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - HTTP > response status: 404 > url=http://vmsys124:8081/artifactory/com.springsource.repository.bundles > .release/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.ja > r > > 17:20:19.331 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - CLIENT > ERROR: Not Found > url=http://vmsys124:8081/artifactory/com.springsource.repository.bundles > .release/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.ja > r > > 17:20:19.331 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > http://vmsys124:8081/artifactory/repo1_jars: resource not reachable for > ie/vhi#ea_app_common;1.1-SNAPSHOT: > res=http://vmsys124:8081/artifactory/com.springsource.repository.bundles > .release/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.ja > r > > 17:20:19.331 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > trying > http://vmsys124:8081/artifactory/com.springsource.repository.bundles.ext > ernal/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.331 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > tried > http://vmsys124:8081/artifactory/com.springsource.repository.bundles.ext > ernal/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.346 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - HTTP > response status: 404 > url=http://vmsys124:8081/artifactory/com.springsource.repository.bundles > .external/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.j > ar > > 17:20:19.346 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - CLIENT > ERROR: Not Found > url=http://vmsys124:8081/artifactory/com.springsource.repository.bundles > .external/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.j > ar > > 17:20:19.346 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > http://vmsys124:8081/artifactory/repo1_jars: resource not reachable for > ie/vhi#ea_app_common;1.1-SNAPSHOT: > res=http://vmsys124:8081/artifactory/com.springsource.repository.bundles > .external/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.j > ar > > 17:20:19.346 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > trying > http://vmsys124:8081/artifactory/com.springsource.repository.libraries.r > elease/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.346 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > tried > http://vmsys124:8081/artifactory/com.springsource.repository.libraries.r > elease/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.346 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - HTTP > response status: 404 > url=http://vmsys124:8081/artifactory/com.springsource.repository.librari > es.release/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT. > jar > > 17:20:19.346 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - CLIENT > ERROR: Not Found > url=http://vmsys124:8081/artifactory/com.springsource.repository.librari > es.release/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT. > jar > > 17:20:19.346 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > http://vmsys124:8081/artifactory/repo1_jars: resource not reachable for > ie/vhi#ea_app_common;1.1-SNAPSHOT: > res=http://vmsys124:8081/artifactory/com.springsource.repository.librari > es.release/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT. > jar > > 17:20:19.346 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > trying > http://vmsys124:8081/artifactory/com.springsource.repository.libraries.e > xternal/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.346 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > tried > http://vmsys124:8081/artifactory/com.springsource.repository.libraries.e > xternal/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.362 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - HTTP > response status: 404 > url=http://vmsys124:8081/artifactory/com.springsource.repository.librari > es.external/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT > .jar > > 17:20:19.362 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - CLIENT > ERROR: Not Found > url=http://vmsys124:8081/artifactory/com.springsource.repository.librari > es.external/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT > .jar > > 17:20:19.362 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > http://vmsys124:8081/artifactory/repo1_jars: resource not reachable for > ie/vhi#ea_app_common;1.1-SNAPSHOT: > res=http://vmsys124:8081/artifactory/com.springsource.repository.librari > es.external/ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT > .jar > > 17:20:19.362 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > trying > http://vmsys124:8081/artifactory/libs-releases-local/ie/vhi/ea_app_commo > n/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.362 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > tried > http://vmsys124:8081/artifactory/libs-releases-local/ie/vhi/ea_app_commo > n/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.362 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - HTTP > response status: 404 > url=http://vmsys124:8081/artifactory/libs-releases-local/ie/vhi/ea_app_c > ommon/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.362 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - CLIENT > ERROR: The repository 'libs-releases-local' rejected the artifact > 'libs-releases-local:ie/vhi/ea_app_common/1.1-SNAPSHOT/ea_app_common-1.1 > -SNAPSHOT.jar' due to its snapshot/release handling policy. > url=http://vmsys124:8081/artifactory/libs-releases-local/ie/vhi/ea_app_c > ommon/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.362 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > http://vmsys124:8081/artifactory/repo1_jars: resource not reachable for > ie/vhi#ea_app_common;1.1-SNAPSHOT: > res=http://vmsys124:8081/artifactory/libs-releases-local/ie/vhi/ea_app_c > ommon/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.362 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > trying > http://vmsys124:8081/artifactory/libs-snapshots-local/ie/vhi/ea_app_comm > on/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.362 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > tried > http://vmsys124:8081/artifactory/libs-snapshots-local/ie/vhi/ea_app_comm > on/1.1-SNAPSHOT/ea_app_common-1.1-SNAPSHOT.jar > > 17:20:19.378 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > http://vmsys124:8081/artifactory/repo1_jars: no ivy file found for > ie.vhi#ea_app_common;1.1-SNAPSHOT: using default data > > 17:20:19.409 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > checking ie.vhi#ea_app_common;1.1-SNAPSHOT[default] from > http://vmsys124:8081/artifactory/repo1_jars against [none] > > 17:20:19.409 [main] DEBUG org.gradle.logging.IvyLoggingAdaper - > module revision kept as first found: > ie.vhi#ea_app_common;1.1-SNAPSHOT[default] from > http://vmsys124:8081/artifactory/repo1_jars > > 17:20:19.424 [main] INFO org.gradle.logging.IvyLoggingAdaper - > found ie.vhi#ea_app_common;1.1-SNAPSHOT in > http://vmsys124:8081/artifactory/repo1_jars > > > > Is there any reason why Gradle will not detect that there is a new > SNAPSHOT artifact and resolve that one as opposed to the one in the > cache? > > > > Thanks, > > Donal. > > > > -- ------------------------------------ Rene Groeschke [email protected] http://www.breskeby.com http://twitter.com/breskeby ------------------------------------ --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
