You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "David J. M. Karlsen (JIRA)" <ji...@codehaus.org> on 2008/10/03 21:36:08 UTC

[jira] Commented: (MNG-3525) Settings.xml allowing mirror definitions inside profiles

    [ http://jira.codehaus.org/browse/MNG-3525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149827#action_149827 ] 

David J. M. Karlsen commented on MNG-3525:
------------------------------------------

This would most definately be useful for ppl going in and out of different environments.
Can it be resceduled for 2.1.x?

> Settings.xml allowing mirror definitions inside profiles
> --------------------------------------------------------
>
>                 Key: MNG-3525
>                 URL: http://jira.codehaus.org/browse/MNG-3525
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Profiles
>    Affects Versions: 2.0.9
>         Environment: N/A
>            Reporter: Paul Grove
>             Fix For: 3.0-alpha-2
>
>
> 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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira