Maven Configuration Files

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

settings.xml

settings.xml Overview

The settings.xml file contains local Maven configuration: it defines how Maven works, but must not be bundled to any specific project, or distributed to an audience. This configuration includes values such as the local repository location, alternate repository servers and authentication information. There are two locations where settings.xml may live:

  • The Maven install: ${maven.home}/conf/settings.xml.
  • A user’s install: ${user.home}/.m2/settings.xml.

More details: https://maven.apache.org/ref/3.3.9/maven-settings/settings.html

pom.xml

pom.xml