Narendra Verma
Narendra Verma

Reputation: 2422

Best practices of configuring repository in pom.xml vs settings.xml

There are two different ways to configure repository in pom.xml or settings.xml.

What is the best practices, whether configuring repository in pom.xml or settings.xml?

Upvotes: 2

Views: 605

Answers (1)

khmarbaise
khmarbaise

Reputation: 97379

The best practice is to configure repositories only in settings.xml file furthermore it makes configuration simpler to use a repository manager.

Upvotes: 1

Related Questions