Maven Configuration Files: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 12: Line 12:
* A user’s install: <tt>${user.home}/.m2/settings.xml</tt>.
* A user’s install: <tt>${user.home}/.m2/settings.xml</tt>.


=<tt>pom.xm</tt>=
More details: https://maven.apache.org/ref/3.3.9/maven-settings/settings.html
 
=<tt>pom.xml</tt>=
 
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[Maven pom.xml|<tt>pom.xml</tt>]]
</blockquote>

Latest revision as of 01:11, 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.xml

pom.xml