Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8A8B0200CCC for ; Fri, 21 Jul 2017 10:14:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 88FE916CD7D; Fri, 21 Jul 2017 08:14:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A8A0316CD7C for ; Fri, 21 Jul 2017 10:14:04 +0200 (CEST) Received: (qmail 66536 invoked by uid 500); 21 Jul 2017 08:14:03 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 66525 invoked by uid 99); 21 Jul 2017 08:14:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2017 08:14:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 4DBA61A0065 for ; Fri, 21 Jul 2017 08:14:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -97.889 X-Spam-Level: X-Spam-Status: No, score=-97.889 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URI_HEX=1.313, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id LmTChX_HIv_j for ; Fri, 21 Jul 2017 08:14:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 4D4775FB7A for ; Fri, 21 Jul 2017 08:14:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B2C36E0DE3 for ; Fri, 21 Jul 2017 08:14:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1D47021EE8 for ; Fri, 21 Jul 2017 08:14:00 +0000 (UTC) Date: Fri, 21 Jul 2017 08:14:00 +0000 (UTC) From: "Grzegorz Grzybek (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-3253) features-maven-plugin and proxy dos not work MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 21 Jul 2017 08:14:05 -0000 [ https://issues.apache.org/jira/browse/KARAF-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16095938#comment-16095938 ] Grzegorz Grzybek commented on KARAF-3253: ----------------------------------------- Confirmed. With 2.4.0 I'm getting: {noformat} [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 test-karaf-plugins: Can't resolve bundle org.restlet.osgi:org.restlet:jar:2.2.3: Could not transfer artifact org.restlet.osgi:org.restlet:jar:2.2.3 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.3/org.restlet-2.2.3.jar from http://maven.restlet.org/org/restlet/osgi/org.restlet/2.2.3/org.restlet-2.2.3.jar with proxyInfo ProxyInfo{host='localhost', userName='null', port=3128, type='http', nonProxyHosts='null'} [ERROR] org.restlet.osgi:org.restlet:jar:2.2.3 {noformat} and (in squid logs): {noformat} 1500624631.347 0 127.0.0.1 TCP_DENIED/407 4093 GET http://maven.restlet.org/org/restlet/osgi/org.restlet/2.2.3/org.restlet-2.2.3.jar - HIER_NONE/- text/html {noformat} With 2.3.5, I'm getting in squid: {noformat} 1500624782.444 481 127.0.0.1 TCP_MISS/307 365 GET http://maven.restlet.org/org/restlet/osgi/org.restlet/2.2.3/org.restlet-2.2.3.jar admin HIER_DIRECT/34.208.54.13 - 1500624783.987 1532 127.0.0.1 TCP_MISS/200 697741 GET http://maven.restlet.com/org/restlet/osgi/org.restlet/2.2.3/org.restlet-2.2.3.jar admin HIER_DIRECT/34.208.54.13 application/java-archive 1500624784.205 208 127.0.0.1 TCP_MISS/307 395 GET http://maven.restlet.org/org/restlet/osgi/org.restlet.ext.httpclient/2.2.3/org.restlet.ext.httpclient-2.2.3.jar admin HIER_DIRECT/34.208.54.13 - 1500624784.410 204 127.0.0.1 TCP_MISS/200 18392 GET http://maven.restlet.com/org/restlet/osgi/org.restlet.ext.httpclient/2.2.3/org.restlet.ext.httpclient-2.2.3.jar admin HIER_DIRECT/34.208.54.13 application/java-archive {noformat} > 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 > > 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} > > > optional > true > http > username > ****** > proxy.domain.lan > 3128 > 127.0.0.1|localhost|nexus.domain.lan > > > {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)