You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2013/01/29 04:01:14 UTC

[jira] [Commented] (SM-2169) When maven settings.xml has a proxy, it's propagated to system properties and picked up by anyone using http

    [ https://issues.apache.org/jira/browse/SM-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13565020#comment-13565020 ] 

Freeman Fang commented on SM-2169:
----------------------------------

Hi,

This is a more pax-url/karaf side issue.

Btw, if you don't wanna pax-url pick up proxy configuration from mvn settings.xml, you can edit
etc/org.ops4j.pax.url.mvn.cfg 
add
org.ops4j.pax.url.mvn.proxySupport=false.

Anyway, this isn't a servicemix issue.

Freeman
                
> When maven settings.xml has a proxy, it's propagated to system properties and picked up by anyone using http
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-2169
>                 URL: https://issues.apache.org/jira/browse/SM-2169
>             Project: ServiceMix
>          Issue Type: Bug
>            Reporter: Vitalii Tymchyshyn
>            Assignee: Freeman Fang
>              Labels: http, maven, proxy
>
> To reproduce:
> 1) Add proxy to your maven settings.xml (E.g. ~/.m2/settings.xml file)
> 2) Start servicemix
> 3) Install webconsole
> 4) Try to install any bundle at mvn: uri
> 5) Check in webconsole Configuration Status -> System Properties
> 6) Be very surprised to find http.nonProxyHosts,http.proxyHost and http.proxyPort properties with values from your settings.xml

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira