Hi there,
I had a look on the newly introduced ear plugin. One of the common use cases for creating ear files is to share thirdparty dependencies of war files at one common place and remove all thirdparty libs from the wars. At the moment, I have to add all 3party dependencies of the war to the earlib configuration. It would be cool to have buildin support for that. In the earWithWar example the dependency section of the root project looks like this:

---------------------
dependencies {
    deploy project(':war')

    earlib group: 'log4j', name: 'log4j', version: '1.2.15', ext: 'jar'
}
---------------------

It would be cool to create flat war archives by setting a flag when adding a war project to the deploy configuration. for example this way

---------------------
dependencies {
    deploy project(':war'){
        skinny = true
    }
}
---------------------

The snippet above would automatically add the thirdparty deps of war to the earlibs configuration.

What do you think about this?

regards,
René
--

-----------------------
regards René

rene groeschke
http://www.breskeby.com
@breskeby


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

   http://xircles.codehaus.org/manage_email


Reply via email to