I'm trying to setup a snapshot system with ivy. My nightly build
correctly publishes a jar with 1.0.0-SNAPSHOT version to my repository.
My build however, is not picking up the new snapshots and downloading
the new version.
I'm calling :
1) ivy-setup (which just defines the ant tasks)
2) ivy-configure (shown below)
3) ivy-resolve
4) ivy-retrieve
What is the expected behavior of resolve when determing when to download
a new version of a version? When md5's change? When the timestamp
changes?
<target name="ivy-configure" description="--> setup ivy
configuration">
<ivy-configure file="${config}/ivy/ivyconf.xml"/>
</target>
<!-- =================================
target: resolve
================================= -->
<target name="ivy-resolve" description="--> retreive dependencies
with ivy">
<ivy-resolve/>
<ivy-retrieve sync="true"/>
</target>
Ivyconf properties looks like this
ivy.conf.dir=${basedir}/config/ivy
ivy.conf.file=${ivy.conf.dir}/ivyconf.xml
ivy.ivyrep.default.ivy.root=http://pts-bldwin-01/repository
ivy.retrieve.pattern = ${basedir}/libs/[conf]/[artifact].[ext]
Ivy conf xml looks like this:
<ivyconf>
<properties file="${ivy.conf.dir}/ivyconf-file.properties" />
<conf defaultResolver="default" checkUpToDate="true" />
<resolvers m2compatible="true">
<chain name="default">
<filesystem name="internal" checkmodified="true">
<ivy
pattern="\\pts-bldwin-01\repository\[organization]\[module]\[revision]\i
vy-[revision].xml" />
<artifact
pattern="\\pts-bldwin-01\repository\[organization]\[module]\[revision]\[
artifact]-[revision].[ext]" />
<artifact
pattern="\\pts-bldwin-01\repository\[organization]\[module]\[revision]\[
artifact].[ext]" />
</filesystem>
<url name="internal-url">
<ivy
pattern="http://pts-bldwin-01/repository/[organization]/[module]/[revisi
on]/ivy-[revision].xml" />
<artifact
pattern="http://pts-bldwin-01/repository/[organization]/[module]/[revisi
on]/[artifact]-[revision].[ext]" />
<artifact
pattern="http://pts-bldwin-01/repository/[organization]/[module]/[revisi
on]/[artifact].[ext]" />
</url>
</chain>
</resolvers>
<modules>
<module organisation="jayasoft" name=".*"
resolver="default" />
</modules>
</ivyconf>
Ruel Loehr
Configuration Management
Pointserve, Inc.
110 Wild Basin Road
Suite 300
Austin, Texas 78746
O: 512.617.5314
F: 512.617.0466