Details
-
Enhancement
-
Resolution: Done
-
Major
-
2.0.0-beta-3
-
None
-
None
Description
Currently SWR uses configuration from user.home directory and from locations pointed by old maven 2 properties (e.g. org.apache.maven.global-settings). Global settings from M2_HOME directory are currently not included. According to http://maven.apache.org/settings.html
There are two locations where a settings.xml file may live:
The Maven install: $M2_HOME/conf/settings.xml
A user's install: ${user.home}/.m2/settings.xml
The former settings.xml are also called global settings, the latter settings.xml are referred to as user settings. If both files exists, their contents gets merged, with the user-specific settings.xml being dominant.