blob: 897fd3d57b01f4a60e0b6c893be686d87a961a1e [file] [log] [blame]
<div class="wiki-content maincontent">
<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">
&lt;ivyconf&gt;
&lt;!--loads properties file as ivy variables, 0..n--&gt;
&lt;properties file="${ivy.conf.dir}/ivyconf-file.properties" /&gt;
&lt;!--configures ivy with some defaults, 0..1--&gt;
&lt;conf defaultResolver="localChain" checkUpToDate="false" /&gt;
&lt;!--typedef:defines new types in ivy--&gt;
&lt;!--latest-strategies: defines latest strategies--&gt;
&lt;!--conflict-managers: defines conflicts managers--&gt;
&lt;!--defines dependency resolvers--&gt;
&lt;resolvers&gt;
&lt;chain name="localChain" returnFirst="false"&gt;
&lt;filesystem name="internal" latest="latest-revision"&gt;
&lt;ivy
pattern="${repository.dir}/[organisation]/[module]/[type]s/ivy-[revision].xml" /&gt;
&lt;artifact
pattern="${repository.dir}/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]" /&gt;
&lt;/filesystem&gt;
&lt;ivyrep name="ivyrep"/&gt;
&lt;/chain&gt;
&lt;ibiblio name="ibiblio"
pattern="[organisation]/jars/[module]-[revision].[ext]"/&gt;
&lt;/resolvers&gt;
&lt;!--defines rules between modules and dependency resolvers--&gt;
&lt;modules&gt;
&lt;module organisation="verticon" name=".*"
resolver="internal" /&gt;
&lt;module organisation="mandarax" name=".*"
resolver="internal" /&gt;
&lt;module organisation="geronimo-spec" name=".*"
resolver="ibiblio" /&gt;
&lt;module organisation="tomcat" name=".*"
resolver="ibiblio" /&gt;
&lt;/modules&gt;
&lt;/ivyconf&gt;
</pre>
</div></div></div>