On Tue, 2005-11-08 at 12:49 +0000, Mark Hobson wrote:
> Hi Fabrice,
> 
> mvn currently mediates dependency versions using a nearest-wins
> strategy.  This means that the dependency version specified highest in
> the dependency tree (i.e. nearest to the project being built) is used.
> 
> As a side note, I really need the highest-wins strategy - any pointers
> to open issues or code required?

It's slated for 2.1.

> Mark
> 
> On 08/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> > Hi,
> >
> > Does anyone know how Maven resolves a version for a specific depedency when
> > this dependency comes with different versions due to transitivity?
> >
> > I have the following case: I'm developing a framework where I use
> > commons-lang version 2.0, along with other libs that have commons-lang in
> > their POM, but with a different version (1.0.1 most of the time). In my
> > WAR, I end up with version 1.0.1 of commons-lang.
> > I know that projects using my framework can handle that by using dependency
> > management. However, I would expect that version 2.0 of commons-lang would
> > be used as I specified it in the deps of the POM of my framework (shouldn't
> > that "override" the version 1.0.1 given by transitivity of other libs ?).
> >
> > Thanks for you answer !
> >
> > Best Regards / Cordialement,
> > Fabrice BELLINGARD
> > DINQ/DSIN/INSI/EATE/IDVS/AIDV
> > (+33) (01 61) 45 15 91  -  [EMAIL PROTECTED]
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

Simplex sigillum veri. (Simplicity is the seal of truth.)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to