maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <>
Subject [jira] [Commented] (MNG-5698) Declare proxies and mirrors in profiles
Date Sat, 10 Oct 2015 18:47:06 GMT


Michael Osipov commented on MNG-5698:

The best solution here would be rather use the default system proxy settings. When you access
a VPN, you should set your system default proxy. Maven should pick this up.

Are you expriencing this on Windows?

> Declare proxies and mirrors in profiles
> ---------------------------------------
>                 Key: MNG-5698
>                 URL:
>             Project: Maven
>          Issue Type: Improvement
>          Components: Settings
>         Environment: All
>            Reporter: Edwin Wiles
> 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
> Just making proxies and mirrors acceptable in profiles would go a VERY long way to solving
this problem.

This message was sent by Atlassian JIRA

View raw message