Are you using transitive() ?

transitive() makes no effort to remove duplicate artifacts (with different
versions) at the moment.

If you want transitive dependency support, I would recommend looking into
the various plugins that specifically aim to support transitive
dependencies (ivy4r, naether, ...)

alex


On Sat, Mar 10, 2012 at 11:58 AM, Derrick Schneider <
[email protected]> wrote:

> Is there good documentation somewhere about buildr handles conflicting
> dependencies? I'm doing packaging based on specific artifacts, without
> transitive set (it's there for compile in one case). But I end up with
> multiple versions in the war of things like slf4j-api, commons-logging, and
> more. This leads to occasional problems once the war is exploded. I'm
> hand-tweaking the artifacts list with -=, but I'd like to get a better
> understanding of how they're getting included in the first place.
>
> Thanks
> Derrick
>
> --
> Writer. Programmer. Puzzle Designer.
> http://www.obsessionwithfood.com
>

Reply via email to