What can cause a org.gradle.api.internal.artifacts.ivyservice.ModuleVersionNotFoundException for maven dependencies installed (manually) in local repository?
FAILURE: Build failed with an exception.
* What went wrong:
Could not find group:com, module:lastfmbindings, version:160-SVN.
Required by:
fairPlayer:aTunesEngine:1.0-SNAPSHOT
* Try:
Run with --debug option to get more log output.
* Exception is:
org.gradle.api.internal.artifacts.ivyservice.ModuleVersionNotFoundException: Could not find group:com, module:lastfmbindings, version:160-SVN.
Required by:
fairPlayer:aTunesEngine:1.0-SNAPSHOT
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.IvyResolverBackedDependencyToModuleResolver$DefaultModuleVersionResolver.notFound(IvyResolverBackedDependencyToMo
duleResolver.java:125)
In master build.gradle I have defined:
allprojects
{
usePlugin('java')
usePlugin('maven')
group = 'fairPlayer'
version = '1.0-SNAPSHOT'
configurations.compile.transitive = true
}
subprojects {
sourceCompatibility = 1.5
targetCompatibility = 1.5
repositories {
mavenLocal()
}
}
dependsOnChildren()
and in one of submodules:
dependencies {
compile group: 'fairPlayer.includes', name: 'lastfm-bindings', version: '160-SVN'
}
and I have “lastfm-bindings-160-SVN.jar” and “lastfm-bindings-160-SVN.pom” in ~.m2\repository\fairplayer\includes\lastfm-bindings\160-SVN\
I’m using 1.0-milestone7
Whats wrong?