ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <>
Subject Re: Update policy for Maven snapshots
Date Tue, 13 Jul 2010 22:23:21 GMT
Did you look at the 'defaultTTL' attribute on the <cache> element in your 
settings.xml ?


----- Original Message ----
From: Hans Dockter <>
Sent: Tue, July 13, 2010 5:27:24 PM
Subject: Update policy for Maven snapshots


is there any standard way in Ivy to express the Maven feature of a
snapshot-policy? The latter allows you to define the frequency for an up to
date check:

always - always check when Maven is started for newer versions of snapshots
never - never check for newer remote versions. Once off manual updates can
be performed.
daily (default) - check on the first run of the day (local time)
interval:XXX - check every XXX minutes

I think such a policy makes sense in particular if your repo is accessed via
the internet vs. an intranet company repo. Otherwise using snapshots carries
a high performance penalty.

- Hans

Hans Dockter
Founder, Gradle,
CEO, Gradle Inc. - Gradle Training, Support, Consulting


View raw message