On Friday 27 February 2004 00:41, J�rg Schaible wrote:
> Niclas Hedhman wrote on Thursday, February 26, 2004 5:36 PM:
> > HI,
> >
> > I thought that Maven was supposed to handle the version resolution
> > more or less automatically.
> >
> > If a dependency is declared on 1.1.1, but there is a 1.1.2 in the
> > cache, shouldn't it just use 1.1.2 instead ?
>
> No. You alway get the version you have declared in your project.xml. The
> only exception to this rule are snapshots. You can specify them with
> package-1.0-SNAPSHOT. In this case Maven will always look if there is a
> newer version available (you may omit the version number in this case
> also).

Thanks

So does a  3-SNAPSHOT, give me a 3.1 if it is available, and not the 4.0 that 
is also available?

Cheers
Niclas



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

Reply via email to