[ https://issues.apache.org/jira/browse/MNG-5698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14951987#comment-14951987 ]
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: https://issues.apache.org/jira/browse/MNG-5698 > 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 resources. > 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 (v6.3.4#6332)