ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
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 ?
http://ant.apache.org/ivy/history/latest-milestone/settings/caches/cache.html

Maarten




----- Original Message ----
From: Hans Dockter <hans@gradle.biz>
To: ivy-user@ant.apache.org
Sent: Tue, July 13, 2010 5:27:24 PM
Subject: Update policy for Maven snapshots

Hi,

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
http://www.gradle.org, http://twitter.com/gradleorg
CEO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz



      

Mime
View raw message