(TL;DR: Use this repo and the versions on your dependencyMgmt:
http://version99.qos.ch/)

a hack, but works like a charm:

http://day-to-day-stuff.blogspot.com.br/2007/10/announcement-version-99-does-not-exist.html


--
-- Aldrin Leal, <ald...@leal.eng.br>
Master your EC2-fu! Get the latest ekaterminal public beta
http://www.ingenieux.com.br/products/ekaterminal/


On Mon, Jan 20, 2014 at 6:12 AM, Stephen Connolly <
stephen.alan.conno...@gmail.com> wrote:

> The hack way I would use is to create an intermediate "wrapper" project and
> then you can define exclusions on that wrapper at the pom level directly.
>
> Other than that you just have to wait for model version 5.0.0 when the
> <provides> element that I want to introduce would allow either slf4j's
> binder to advertise that it "provides" commons-logging, or you would be
> able to state that in your <dependency> directly
>
>
> On 20 January 2014 09:03, Stephane Nicoll <stephane.nic...@gmail.com>
> wrote:
>
> > Hi,
> >
> > Has anybody thought (or worked on) the ability to exclude dependencies
> from
> > the import of a pom for a given project.
> >
> > Let's say that project S uses commons-logging and we use that project in
> > our project. We have something like
> >
> > <dependency>
> >   <groupId>....</groupId>
> >   <artifactId>the-s-project</artifactId>
> >   <version>...</version>
> >   <type>pom</type>
> >   <scope>import<scope>
> > </dependency>
> >
> > Now I'd like to exclude the "commons-logging" dependency from the whole
> > project so that I can use the slf4j binder instead.
> >
> > Thoughts?
> >
> > Thanks,
> > S.
> >
>

Reply via email to