If the poms for any of these use <import> or other 2.0.9 features it will not work with the current version of Ivy Gradle is using, you could download a snapshot of Ivy and replace the one in gradle's lib.
On Thu, May 20, 2010 at 16:52, Ted Yu <[email protected]> wrote: > Hi, > I got the following error after changing m2mVersion below: > def m2mVersion='trunk-SNAPSHOT' > ["com.iq.m2m:m2m-platform:$m2mVersion", > "com.iq.m2m:m2m-flows:$m2mVersion", "com.iq.m2m:m2m-installer:$m2mVersion", > "com.iq.m2m:m2m-commons:$m2mVersion", "com.iq.m2m:m2m-sdk:$m2mVersion"].each > { > dependency(['compile'], it) { > exclude(module: 'maven-script-ant') > exclude(module: 'jmock') > } > } > > ==== legacy-repository: tried > > -- artifact com.google#collect;0.8.0!collect.jar: > > > http://repository.carrieriq.com/maven/com.google/jars/collect-0.8.0.jar > > ==== MavenRepo: tried > > > http://repo1.maven.org/maven2/com/google/collect/0.8.0/collect-0.8.0.pom > > -- artifact com.google#collect;0.8.0!collect.jar: > > > http://repo1.maven.org/maven2/com/google/collect/0.8.0/collect-0.8.0.jar > > :::::::::::::::::::::::::::::::::::::::::::::: > > :: UNRESOLVED DEPENDENCIES :: > > :::::::::::::::::::::::::::::::::::::::::::::: > > :: org.eclipse.xtext#xtext-core;0.7.2: not found > > :: org.eclipse.xtext#xtext-util;0.7.2: not found > > :: org.eclipse.emf#ecore;2.5.0: not found > > :: org.eclipse.emf#common;2.5.0: not found > > :: org.eclipse.emf#index;0.7.0: not found > > :: org.antlr#antlr-runtime;3.0.0: not found > > :: com.google#guice;1.0_patched: not found > > :: com.google#collect;0.8.0: not found > > :::::::::::::::::::::::::::::::::::::::::::::: > > If m2mVersion is 2.4.0-SNAPSHOT, './gradlew eclipse' passes. > > I am wondering why m2mVersion would affect 3rd party dependency checking. > > Please comment. > -- Jason Porter Software Engineer Open Source Advocate PGP key id: 926CCFF5 PGP key available at: keyserver.net, pgp.mit.edu
