Skip to content

Commit

Permalink
Listed resolvers individually in ivysettings.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Dec 18, 2014
1 parent f3bae22 commit 04735fd
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions ivysettings.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
<ivysettings>
<settings defaultResolver="default"/>
<property name="m2-pattern" value="${user.home}/.m2/jboss-repository/[organisation]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]" override="false" />
<property
name="m2-pattern"
value="${user.home}/.m2/jboss-repository/[organisation]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]"
override="false" />
<resolvers>
<filesystem name="local-maven2" m2compatible="true" >
<artifact pattern="${m2-pattern}"/>
</filesystem>

<filesystem name="local-m2-publish" m2compatible="true">
<artifact pattern="${m2-pattern}"/>
</filesystem>

<ibiblio name="central" m2compatible="true"/>

<!-- Tries to find an artifact in the local maven repo first -->
<chain name="default">
<filesystem name="local-maven2" m2compatible="true" >
<artifact pattern="${m2-pattern}"/>
<ivy pattern="${m2-pattern}"/>
</filesystem>
<ibiblio name="central" m2compatible="true"/>
<resolver ref="local-maven2"/>
<resolver ref="central"/>
</chain>
</resolvers>
</ivysettings>

0 comments on commit 04735fd

Please sign in to comment.