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

Declare proxies and mirrors in profiles

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Settings
    • None
    • All

    Description

      There appear to be 140 issues regarding proxy configuration. None of them appear to have been adequately dealt with.

      There should be a solution, internal to Maven, preferably in the settings.xml file, that allows the user to either automatically, or at worst with a -P profile argument, to switch between proxies and mirrors.

      It seems the easiest way to achieve this is to allow proxies and mirrors into profiles, the same as properties and repositories are now.

      USE CASE: I am presently dealing with an environment where company A has a mirror, proxy, and VPN access; company B has a mirror, proxy, and VPN access; and the user may be working from either company's office, either company's VPN, or from home without using either company's resources.

      Just making proxies and mirrors acceptable in profiles would go a VERY long way to solving this problem.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wilesed Edwin Wiles
              Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: