Maven Configuration Files: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 11: Line 11:
* The Maven install: <tt>${maven.home}/conf/settings.xml</tt>.
* The Maven install: <tt>${maven.home}/conf/settings.xml</tt>.
* A user’s install: <tt>${user.home}/.m2/settings.xml</tt>.
* A user’s install: <tt>${user.home}/.m2/settings.xml</tt>.
More details: https://maven.apache.org/ref/3.3.9/maven-settings/settings.html


=<tt>pom.xm</tt>=
=<tt>pom.xm</tt>=

Revision as of 01:04, 30 May 2016

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.xm