[ https://issues.apache.org/jira/browse/KARAF-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grzegorz Grzybek resolved KARAF-3253. ------------------------------------- Resolution: Fixed Assignee: Grzegorz Grzybek > features-maven-plugin and proxy dos not work > -------------------------------------------- > > Key: KARAF-3253 > URL: https://issues.apache.org/jira/browse/KARAF-3253 > Project: Karaf > Issue Type: Bug > Components: karaf-tooling > Affects Versions: 2.4.0 > Environment: maven and http proxy server > Reporter: Aleksey Sushko > Assignee: Grzegorz Grzybek > Fix For: 4.1.1 > > > Use newest features-maven-plugin version 2.4.0 > {quote} > \[INFO] > ------------------------------------------------------------------------ > \[INFO] BUILD FAILURE > \[INFO] > ------------------------------------------------------------------------ > \[INFO] Total time: 2.891s > \[INFO] Finished at: Mon Sep 29 10:56:16 MSK 2014 > \[INFO] Final Memory: 15M/214M > \[INFO] > ------------------------------------------------------------------------ > \[ERROR] Failed to execute goal > org.apache.karaf.tooling:features-maven-plugin:2.4.0:add-features-to-repo > (add-features-to-repo) on project comita-distr: Can't resolve bundle > org.restlet.osgi:org.restlet:jar:2.2.1: Could not transfer artifact > org.restlet.osgi:org.restlet:jar:2.2.1 from/to http://maven.restlet.org > (http://maven.restlet.org): Error transferring file: Server returned HTTP > response code: 407 for URL: > http://maven.restlet.org/org/restlet/osgi/org.restlet/2.2.1/org.restlet-2.2.1.jar > from > http://maven.restlet.org/org/restlet/osgi/org.restlet/2.2.1/org.restlet-2.2.1.jar > with proxyInfo ProxyInfo\{host='proxy.domain.lan', userName='username', > port=3128, type='http', nonProxyHosts='null'} > \[ERROR] org.restlet.osgi:org.restlet:jar:2.2.1 > {quote} > Use parent version features-maven-plugin version 2.3.5 > {quote} > \[INFO] Copying bundle: org.restlet.osgi:org.restlet:jar:2.2.1 > Downloading: > http://maven.restlet.org/org/restlet/osgi/org.restlet/2.2.1/org.restlet-2.2.1.jar > 240/679 KB > {quote} > Sample from ~/.m2/settings.xml > {code} > </proxies> > <proxy> > <id>optional</id> > <active>true</active> > <protocol>http</protocol> > <username>username</username> > <password>******</password> > <host>proxy.domain.lan</host> > <port>3128</port> > <nonProxyHosts>127.0.0.1|localhost|nexus.domain.lan</nonProxyHosts> > </proxy> > </proxies> > {code} > link to > http://karaf.922171.n3.nabble.com/features-maven-plugin-2-4-0-and-proxy-dos-not-work-td4035566.html -- This message was sent by Atlassian JIRA (v6.4.14#64029)