Elad Tabak
Elad Tabak

Reputation: 2417

Maven to override ALL repositories

I configured my pom to override central repository, and snapshot. However, some dependencies have their own pom settings with their own repositories, and those tend to access the web.

For example, grizzly sets glassfish repository. ActiveMQ sets jboss and others.

Can I set something like - override ALL repositories to go to my own repository?

Upvotes: 1

Views: 1618

Answers (1)

khmarbaise
khmarbaise

Reputation: 97467

You should setup a repository manager afterwards you can configure the access via the settings.xml file to use only the repository manager. This is a kind of override via the mirror setting in the settings.xml file.

Upvotes: 1

Related Questions