Created
June 8, 2011 13:02
-
-
Save butlermh/1014375 to your computer and use it in GitHub Desktop.
How to get Ivy to resolve from a local Maven repository
This file contains 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
<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