[
https://issues.apache.org/jira/browse/MNG-3525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16514179#comment-16514179
]
Robert Scholte commented on MNG-3525:
-------------------------------------
Changing the settings.xml will have a huge impact. One of the known issues is:
should still be called settings.xml, or should it contain the version? The
reason is that developers might have multiple versions of Maven ( I have all
3.0+ released version on my machine) which should share the same settings.xml.
Including the version implies duplication of configuration.
For now: better to have multiple settings.xml and use {{\-s/\-\-settings
<arg>}} or {{\-gs/\-\-global-settings <arg>}} to separate them per environment
> Settings.xml allowing mirror definitions inside profiles
> --------------------------------------------------------
>
> Key: MNG-3525
> URL: https://issues.apache.org/jira/browse/MNG-3525
> Project: Maven
> Issue Type: Improvement
> Components: Profiles, Settings
> Affects Versions: 2.0.9
> Environment: N/A
> Reporter: Paul Gribben
> Priority: Major
> Fix For: Issues to be reviewed for 4.x
>
>
> I currently use Maven in 2 places
> 1. At work
> 2. Not at work
> At work we have a repository manager thus we have mirror properties in the
> settings.xml for the whole teams global settings. We also have a defined a
> number of repositories in our work profile so we can mirror these to
> different repo's managed by Archiva. Now when I work from home I have to
> comment out the mirror definitions and activate a home profile which does not
> define any repos so Maven just goes out to the WWW as normal. So the pain is
> having to comment out and un-comment the mirror settings every time I go from
> work to home and visa-versa.
> Can we not have the option to add mirrors inside profiles?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)