Maven Configuration Files: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 17: Line 17:


<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[Maven pom/xml|<tt>pom.xml</tt>]]
:[[Maven pom.xml|<tt>pom.xml</tt>]]
</blockquote>
</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