Tag Archives: mirror

Maven tweaks continued…

In a previous post I mentioned using the settings.xml file to force maven to use a local repository. In my case this is Jfrog’s Artifactory. This was accomplished using the “mirror” element in the settings.xml file (example). While most of our artifacts are downloaded from the “central” repository. Some of them have dependencies that are [...]
Posted in /geek, /sysadmin, /unix, /work | Also tagged , , , , , , , , | Leave a comment

Overriding the default maven repository

If you are using maven for builds or dependency management you will notice that by default maven always attempts to pull dependencies from the public maven repository (repo1). After reading documentation and examples I thought you could easily override this by specifying a local repository in your respective project object model file (pom.xml). Example. Not the [...]
Posted in /geek, /sysadmin, /unix, /work | Also tagged , , , | 1 Comment