You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jimisola Laursen <li...@jimisola.com> on 2006/06/26 23:50:13 UTC

How to get the latest STABLE version of a library dependency automatical

Hi!

I've been looking for a way to specify that the latest STABLE version of a
library (dependency) should be used automatically. However, I can't seem to
find any information on this. Is this not possible? The "Dependency Version
Ranges" doesn't solve the problem for me since it sets with the lowest
version satisfying the range.

This guy had the same question about a year ago, but it doesn't look
promising:
http://www.nabble.com/newbie-ques%3A-downloading-latest-stable-jars-t74577.html#a202750

Regards,
Jimisola
--
View this message in context: http://www.nabble.com/How-to-get-the-latest-STABLE-version-of-a-library-dependency-automatical-t1851718.html#a5055636
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to get the latest STABLE version of a library dependency automat

Posted by Jimisola Laursen <li...@jimisola.com>.
Ok. Well, we want to use this for an internal library that we don't want to
use SNAPSHOT for.

I'll wait and see if there are any other responses otherwise I'll add a
feature request.

My feature request will actually be to have an option to dependency version
range, so that the highest matching - not lowest - version of the
library/dependency will be selected.

If I want the latest version >1.1.1, but not 1.2 since that might break
compability.

[1.1.1, 1.2)

Regards,
Jimisola
--
View this message in context: http://www.nabble.com/How-to-get-the-latest-STABLE-version-of-a-library-dependency-automatical-t1851718.html#a5056312
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to get the latest STABLE version of a library dependency automatical

Posted by Alexandre Poitras <al...@gmail.com>.
I don't think it is a good idea. You should always manually upgrade
your  dependencies to see if nothing break in your application. So in
short, I don't think there is a way to do that and I don't think many
people would be interested in this solution.

On 6/26/06, Jimisola Laursen <li...@jimisola.com> wrote:
>
> Hi!
>
> I've been looking for a way to specify that the latest STABLE version of a
> library (dependency) should be used automatically. However, I can't seem to
> find any information on this. Is this not possible? The "Dependency Version
> Ranges" doesn't solve the problem for me since it sets with the lowest
> version satisfying the range.
>
> This guy had the same question about a year ago, but it doesn't look
> promising:
> http://www.nabble.com/newbie-ques%3A-downloading-latest-stable-jars-t74577.html#a202750
>
> Regards,
> Jimisola
> --
> View this message in context: http://www.nabble.com/How-to-get-the-latest-STABLE-version-of-a-library-dependency-automatical-t1851718.html#a5055636
> Sent from the Maven - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org