Created
January 28, 2012 08:22
-
-
Save vmi/1693489 to your computer and use it in GitHub Desktop.
Share maven2 cache for ivy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<ivysettings> | |
<include url="${ivy.default.settings.dir}/ivysettings-public.xml" /> | |
<settings defaultResolver="default" /> | |
<property name="m2.dir" value="${user.home}/.m2/repository" /> | |
<property name="m2.pattern" value="[organisation]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]" /> | |
<resolvers> | |
<filesystem name="local" m2compatible="true"> | |
<artifact pattern="${m2.dir}/${m2.pattern}" /> | |
<ivy pattern="${m2.dir}/${m2.pattern}" /> | |
</filesystem> | |
<chain name="default" returnFirst="true" changingPattern=".*SNAPSHOT"> | |
<resolver ref="local" /> | |
<resolver ref="public" /> | |
</chain> | |
</resolvers> | |
<caches default="m2.cache" defaultCacheDir="${m2.dir}"> | |
<cache name="m2.cache" artifactPattern="${m2.pattern}" ivyPattern="${m2.pattern}" /> | |
</caches> | |
</ivysettings> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment