[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-127) Use global maven configuration from M2_HOME/conf
Karel Piwko (JIRA)
jira-events at lists.jboss.org
Tue Nov 12 03:27:06 EST 2013
[ https://issues.jboss.org/browse/SHRINKRES-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karel Piwko closed SHRINKRES-127.
---------------------------------
Closing issues. Released as a part of 2.0.0-beta-4 release.
> 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: Karel Piwko
> Fix For: 2.0.0-beta-4
>
>
> 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/java/org/jboss/shrinkwrap/resolver/impl/maven/bootstrap/MavenSettingsBuilder.java#L81
--
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
More information about the shrinkwrap-issues
mailing list