ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Les Hazlewood" <>
Subject How to retrieve updated snapshot builds from a Maven repo?
Date Fri, 09 Jan 2009 15:31:09 GMT
Hi all,

I noticed that this same question was posted a few days ago
(, but no one responded
to it.  I'm hoping to bump this up as I really need this functionality
as well.

I'm seeing the same problems as Allan:

I have Project A that builds and publishes its artifacts to a Maven
repo (Nexus to be exact).  Project B, built by Ant+Ivy, requires
projectA-revision-SNAPSHOT.jar in order to function correctly.  We're
using Continuous Integration builds and we must ensure that Project B
always builds based on the latest push of Project A's jar to ensure
consistent API usage.

However, Project B's ant+ivy build is NOT pulling the latest project A
-SNAPSHOT .jar after it changes in the Nexus repository.  My config is
practically identical to the one Allan posted in his thread.

Can someone please definitively answer how to accomplish this?  I've
done what is required according to the end-user documentation and
Allan's thread, but it isn't working.

A simple 'no, this doesn't work in Ivy yet' would suffice as well.
I'd just like to know why I (and Allan) and I'm assuming other people
can't get this to work :/



P.S.  Here is the relevant Ivy config (changed to match what Allan had):

        <url name="snapshots" m2compatible="true" changingPattern=".*-SNAPSHOT">

where artifact.repository.url equals

View raw message