[ 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)