You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Grove (JIRA)" <ji...@codehaus.org> on 2008/04/15 14:55:58 UTC
[jira] Created: (MNG-3525) Settings.xml allowing mirror definitions
inside profiles
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
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
[jira] Commented: (MNG-3525) Settings.xml allowing mirror
definitions inside profiles
Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130940#action_130940 ]
Brian Fox commented on MNG-3525:
--------------------------------
This is definitely a requirement for 2.1 IMO, but it can't happen on 2.0.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: 2.1-alpha-1
>
>
> 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
[jira] Commented: (MNG-3525) Settings.xml allowing mirror
definitions inside profiles
Posted by "Rob Evans (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130896#action_130896 ]
Rob Evans commented on MNG-3525:
--------------------------------
Could profiles help?
> 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
>
> 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
[jira] (MNG-3525) Settings.xml allowing mirror definitions inside
profiles
Posted by "Frank Jakop (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-3525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=315026#comment-315026 ]
Frank Jakop commented on MNG-3525:
----------------------------------
Well, 3.x is out in the field for quite a while. We would appreciate this feature very much.
> Settings.xml allowing mirror definitions inside profiles
> --------------------------------------------------------
>
> Key: MNG-3525
> URL: https://jira.codehaus.org/browse/MNG-3525
> Project: Maven 2 & 3
> Issue Type: Improvement
> Components: Profiles
> Affects Versions: 2.0.9
> Environment: N/A
> Reporter: Paul Grove
> Fix For: Issues to be reviewed for 3.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MNG-3525) Settings.xml allowing mirror definitions inside
profiles
Posted by "Christoffer (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-3525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318287#comment-318287 ]
Christoffer commented on MNG-3525:
----------------------------------
Ditto - please implement this feature ASAP!
You should also add support for adding proxies to profiles.
> Settings.xml allowing mirror definitions inside profiles
> --------------------------------------------------------
>
> Key: MNG-3525
> URL: https://jira.codehaus.org/browse/MNG-3525
> Project: Maven 2 & 3
> Issue Type: Improvement
> Components: Profiles
> Affects Versions: 2.0.9
> Environment: N/A
> Reporter: Paul Grove
> Fix For: Issues to be reviewed for 3.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MNG-3525) Settings.xml allowing mirror definitions
inside profiles
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason van Zyl updated MNG-3525:
-------------------------------
Fix Version/s: (was: 2.1-alpha-1)
2.1-alpha-2
> 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: 2.1-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
[jira] Commented: (MNG-3525) Settings.xml allowing mirror
definitions inside profiles
Posted by "David J. M. Karlsen (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Commented: (MNG-3525) Settings.xml allowing mirror
definitions inside profiles
Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149865#action_149865 ]
Brian Fox commented on MNG-3525:
--------------------------------
2.1 can't handle a model change yet so most likely no for 2.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
[jira] Updated: (MNG-3525) Settings.xml allowing mirror definitions
inside profiles
Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Fox updated MNG-3525:
---------------------------
Fix Version/s: 2.1-alpha-1
> 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: 2.1-alpha-1
>
>
> 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
[jira] Commented: (MNG-3525) Settings.xml allowing mirror
definitions inside profiles
Posted by "Paul Grove (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130923#action_130923 ]
Paul Grove commented on MNG-3525:
---------------------------------
Rob - Profiles would help if the settings xml schema allowed mirrors in profiles but it does not. That is exactly my issue.
Oleg - What sort of things do you use you groovy script for?
> 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
>
> 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
[jira] Commented: (MNG-3525) Settings.xml allowing mirror
definitions inside profiles
Posted by "Oleg Gusakov (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130898#action_130898 ]
Oleg Gusakov commented on MNG-3525:
-----------------------------------
I solve this issue with a Groovy script to flip a lot of settings on SuSE laptop.
This actually might be solved with a nice small maven plugin to activate/disactive profiles in settings.xml
> 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
>
> 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