Michal Matloka created SHRINKRES-127:
----------------------------------------
Summary: Use global maven configuration from M2_HOME/conf
Key: SHRINKRES-127
URL:
https://issues.jboss.org/browse/SHRINKRES-127
Project: ShrinkWrap Resolvers
Issue Type: Enhancement
Affects Versions: 2.0.0-beta-3
Reporter: Michal Matloka
Assignee: Andrew Rubinger
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
{quote}
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.
{quote}
Related code:
https://github.com/shrinkwrap/resolver/blob/master/impl-maven/src/main/ja...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira