features-maven-plugin:add-features-to-repo doesn't use maven proxy setting
--------------------------------------------------------------------------

                 Key: KARAF-911
                 URL: https://issues.apache.org/jira/browse/KARAF-911
             Project: Karaf
          Issue Type: Bug
          Components: karaf-tooling
    Affects Versions: 2.2.4
            Reporter: Alexey Markevich


I'm building behind proxy
https://github.com/Talend/tsf/blob/master/talend-sf/pom.xml
There is transitive dependency 
\target\dependencies\apache-cxf-2.5.0-SNAPSHOT-features.xml 
    <feature name="cxf-specs" version="2.5.0-SNAPSHOT" resolver='(obr)'>
        ...
        
<bundle>mvn:http://download.java.net/maven/2!javax.mail/mail/1.4.3</bundle>

Console output
[INFO] Copying bundle: javax.mail:mail:jar:1.4.3
Downloading: 
http://download.java.net/maven/2/javax/mail/mail/1.4.3/mail-1.4.3.jar
...
[ERROR] Failed to execute goal 
org.apache.karaf.tooling:features-maven-plugin:2.2.4-SNAPSHOT:add-features-to-repo
 (add-f
eatures-to-repo) on project talend-sf: Can't resolve bundle 
javax.mail:mail:jar:1.4.3: Could not transfer artifact javax
.mail:mail:jar:1.4.3 from/to http://download.java.net/maven/2 
(http://download.java.net/maven/2): Error transferring fil
e: Connection timed out: connect
[ERROR] javax.mail:mail:jar:1.4.3

This jar available via browser.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to