vert-x/vertx-gradle-template

Dependency problem (commons-lang)

kastork opened this issue · 1 comments

% git clone https://github.com/vert-x/vertx-gradle-template.git
 % cd vertx-gradle-template
 % ./gradlew test

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':testCompile'.
> Artifact 'commons-lang:commons-lang:2.4@jar' not found.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Dependency report says this is called for in the vertx testools module.

testCompile - Classpath for compiling the test sources.
+--- io.vertx:vertx-core:2.1M1
|    +--- org.slf4j:slf4j-api:1.6.2
|    +--- com.fasterxml.jackson.core:jackson-databind:2.2.2
|    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.2.2
|    |    \--- com.fasterxml.jackson.core:jackson-core:2.2.2
|    +--- com.fasterxml.jackson.core:jackson-core:2.2.2
|    +--- io.netty:netty-all:4.0.11.Final
|    \--- log4j:log4j:1.2.16
+--- io.vertx:vertx-platform:2.1M1
|    \--- io.vertx:vertx-core:2.1M1 (*)
+--- org.codehaus.groovy:groovy-all:2.1.5
+--- io.vertx:lang-groovy:2.0.0-final
+--- junit:junit:4.10 -> 4.11
|    \--- org.hamcrest:hamcrest-core:1.3
\--- io.vertx:testtools:2.0.2-final
     +--- io.vertx:vertx-core:2.0.2-final -> 2.1M1 (*)
     +--- org.apache.directory.server:apacheds-protocol-dns:1.5.7
     |    +--- org.apache.directory.server:apacheds-i18n:1.5.7
     |    |    +--- org.apache.directory.shared:shared-ldap:0.9.19
     |    |    |    +--- commons-lang:commons-lang:2.4

Hmm.. this may have been a problem with my local ~/.m2/repository

Deleting that cache resolved the issue.