You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Michael Prescott (JIRA)" <ji...@apache.org> on 2016/01/22 22:34:39 UTC

[jira] [Comment Edited] (KARAF-4290) karaf-maven-plugin uses inactive proxies from settings.xml

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

Michael Prescott edited comment on KARAF-4290 at 1/22/16 9:33 PM:
------------------------------------------------------------------

Workaround is pretty straight forward, just comment out the <proxy> definition.


was (Author: fuseboy):
Workaround is pretty straight forward, just comment out the <proxy> reference instead.

> karaf-maven-plugin uses inactive proxies from settings.xml
> ----------------------------------------------------------
>
>                 Key: KARAF-4290
>                 URL: https://issues.apache.org/jira/browse/KARAF-4290
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.4
>            Reporter: Michael Prescott
>            Priority: Minor
>
> My maven settings.xml has a <proxy> server defined, but it's inactive:
> <proxy>
>   <id>charles-proxy</id>
>   <active>false</active>
>   <protocol>http</protocol>
>   <host>localhost</host>
>   <port>8888</port>
>   <nonProxyHosts>www.google.com|*.example.com</nonProxyHosts>
> </proxy>
> Nevertheless, when runs, I get IOExceptions related to attempting to contact the proxy server (which isn't running):
> Connect to localhost:8888 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)