Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-911

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.4
    • Fix Version/s: 2.3.2, 2.4.0, 3.0.0
    • Component/s: karaf-tooling
    • Labels:
      None

      Description

      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.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              ffang Freeman Fang
              Reporter:
              amarkevich Alexey Markevich
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development