ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mitch Gitman <mgit...@gmail.com>
Subject Re: introducing Ivy to Maven users--ideas?
Date Wed, 05 Jan 2011 04:24:49 GMT
Martin, at the risk of turning this into the maven-user list, you can indeed
specify dynamic version constraints on Maven dependencies. See:
http://www.sonatype.com/books/maven-book/reference/pom-relationships-sect-version-ranges.html

Here's how you might specify the equivalent of 4.+ in Maven, though it's
admittedly a little more verbose:
[4.0,5.0)

And at least since Maven 2.1, you could assign a timestamp when you publish
a snapshot version to a remote repository, although it may not have been the
default. It is the default now with Maven 3.0, where you'd get something
like:
 1.0-20110105.004018-1
<version>-<date>.<time>-<counter>

Let me know if I'm misinterpreting your answer in some way.

On Tue, Jan 4, 2011 at 12:12 PM, Martin Eigenbrodt <
martineigenbrodt@googlemail.com> wrote:

> In my Opinion a key feature of ivy is having dynamic version constraints
> that are resolved to static references in published ivy.xmls. This allows
> for CI Builds that are reproducable and have unique identifiers. So there
> is
> no need for special release builds. This is a important feature if you aim
> for continuous delivery and can be hard to achieve with maven.
>
> Martin
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message