You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by motes motes <mo...@gmail.com> on 2011/05/31 21:44:43 UTC
Specify latest version in a dependency?
Is it possible to specify the version for a dependency simply as the
"latest" something like '0.0.0':
<dependencies>
<dependency>
<groupId>some.groupid</groupId>
<artifactId>some.artifact</artifactId>
<version>0.0.0</version>
</dependency>
</dependencies>
or is that not supported in maven?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Specify latest version in a dependency?
Posted by "Yanko, Curtis" <cu...@uhc.com>.
You'll want to look into version ranges, but be warned, they can be evil
and affect reproducibility.
Just working against a SNAPSHOT keeps you up-to-date on internal stuff.
________________________________
Curt Yanko | Continuous Integration Services | UnitedHealth Group IT
Making IT Happen, one build at a time, 600 times a day
> -----Original Message-----
> From: motes motes [mailto:mort.motes@gmail.com]
> Sent: Tuesday, May 31, 2011 3:45 PM
> To: Maven Users List
> Subject: Specify latest version in a dependency?
>
> Is it possible to specify the version for a dependency simply
> as the "latest" something like '0.0.0':
>
>
> <dependencies>
> <dependency>
> <groupId>some.groupid</groupId>
> <artifactId>some.artifact</artifactId>
> <version>0.0.0</version>
> </dependency>
> </dependencies>
>
> or is that not supported in maven?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org