Hi,

I adopt the knowledge about transitive dependency to our real life use case.

We have many WAR files which include two JARs. Both JARs are "provided".

It only works if i define it like the following example. Look at the difference between "compile" and "providedCompile". That was unexpected for me.

project(':W3') {
    apply plugin: 'war'

    configurations {
        compile.transitive = false
    }

    dependencies {
        providedCompile project(':J1')
        providedCompile project(':J2')
    }
}

regards,
Mathias Kalb

Am 27.01.2011 19:23, schrieb Peter Niederwieser:
Before devoting more time to this discussion, I'd like to hear a convincing
use case.



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

   http://xircles.codehaus.org/manage_email


Reply via email to