Skip to content

Instantly share code, notes, and snippets.

@butlermh
Created June 8, 2011 13:02
Show Gist options
  • Save butlermh/1014375 to your computer and use it in GitHub Desktop.
Save butlermh/1014375 to your computer and use it in GitHub Desktop.
How to get Ivy to resolve from a local Maven repository
<property name="local-maven2-pattern"
value="${user.home}/.m2/repository/[organisation]/[module]/[revision]/[module]-[revision]"
override="false" />
...
<resolvers>
<chain ...
<filesystem
name="local-maven2"
m2compatible="true" >
<ivy pattern="${local-maven2-pattern}.pom"/>
<artifact pattern="${local-maven2-pattern}.[ext]"/>
</filesystem>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment