You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Grzegorz Grzybek (JIRA)" <ji...@apache.org> on 2016/10/11 08:57:20 UTC

[jira] [Commented] (KARAF-846) Better support of Maven proxies

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

Grzegorz Grzybek commented on KARAF-846:
----------------------------------------

pax-url-aether uses wagon-http→httpclient, not wagon-http-lightweight→URL.openConnection().

Maven proxies are handled via settings.xml: http://ggrzybek.blogspot.com/2016/07/using-maven-with-osgi-part-2.html#org.ops4j.pax.url.mvn.settings

> Better support of Maven proxies
> -------------------------------
>
>                 Key: KARAF-846
>                 URL: https://issues.apache.org/jira/browse/KARAF-846
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-core
>            Reporter: Jean-Baptiste Onofré
>
> Currently, to support a Maven proxy, the user has to update the etc/org.ops4j.pax.url.mvn.cfg file to enable the proxy support.
> After enabling the proxy, he has to change the Karaf startup script to add -Dhttp.proxyHost, -Dhttp.proxyPort, etc.
> It could be helpful to handle the proxy URL and/or proxy settings directly in the etc/org.ops4j.pax.url.mvn.cfg file, and avoid to handle that with global System properties.



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