I am trying to add a local maven repository that I have set up using artifactory which I use to cache maven repositories. Following the dependency instructions I have found how to set up a repository with a contains attribute that scopes what the repository has. What I would like to do is have this repository used for everything, is there a way to configure that?
repositories:
- artifactory:
type: iBiblio
artifact: "http://myartifactoryhost.com/artifactory/libs-release"
contains:
- foo-bars -> *
You can put the following to $HOME/.ivy2/ivysettings.xml
This will make ivy (and therefore play dependency resolution) first look in local maven repo and then use your repo manager (similar to mirrorOf * in .m2/settings.xml).