Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3525

settings.xml: profiles do not allow defining mirrors

    XMLWordPrintableJSON

Details

    Description

      I use Maven either in my office or outside my office.

      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?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              paulg Paul Gribben
              Votes:
              59 Vote for this issue
              Watchers:
              45 Start watching this issue

              Dates

                Created:
                Updated: