In my modules of Project A, I override the produced artifacts using
archivesBaseName = 'a.special.module.name.not.equal.directory.name'

I reference internal dependencies using
dependencies {
        compile libraries.'slf4j-api'
        compile project(':foo')
}

This works as expected.

In Project B, I use modules from Project A specifying them like 
"group:atrifact:version".

This does also work, as long as those Project A modules don't have internal 
dependencies. If they have, the build is complaining that it can't find the 
transitive dependency with the original directory name as the artifactId, i.e. 
the archiveBaseName is ignored.

Is this a bug or - which is more likely - am I doing something wrong?

Cheers,
Joern.

p.s.:
In Project B, I reference my local maven repository like this:

def localMavenRepo = new 
File("${System.properties.'user.home'}/.m2/repository").toURL().toString()

    repositories {
       mavenCentral()
       mavenRepo urls: localMavenRepo
    }


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to