Skip to content

Instantly share code, notes, and snippets.

@jasongrimes
Created January 9, 2012 00:04
Show Gist options
  • Save jasongrimes/1580207 to your computer and use it in GitHub Desktop.
Save jasongrimes/1580207 to your computer and use it in GitHub Desktop.
Sample Ivy settings file
<ivysettings>
<properties environment="env"/>
<property name="ivy.subpattern" value="[organisation]/[module]/ivy-[revision].xml"/>
<property name="artifact.subpattern" value="[organisation]/[module]/[artifact]-[revision].[ext]"/>
<settings defaultResolver="url"/>
<resolvers>
<url name="url">
<ivy pattern="${repo.url}/${ivy.subpattern}" />
<artifact pattern="${repo.url}/${artifact.subpattern}" />
</url>
<ssh name="ssh" host="${repo.server}" port="${repo.ssh.port}" user="${repo.ssh.user}" userPassword="${repo.ssh.pass}" publishPermissions="0664">
<ivy pattern="${repo.dir}/${ivy.subpattern}"/>
<artifact pattern="${repo.dir}/${artifact.subpattern}" />
</ssh>
</resolvers>
<triggers>
<ant-call target="extract-dep" prefix="dep" event="post-retrieve-artifact" filter="type=tgz"/>
</triggers>
</ivysettings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment