Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-2224

[Runner] reaching out to repository.jboss.org fails behind proxy

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.2.1.Final, 2.3.0.Final
    • Fix Version/s: 2.6.0.Final
    • Component/s: runner
    • Labels:
      None

      Description

      When using executing org.wildfly.swam.runner.Runner behind a proxy it fails with the following exception:

      Exception in thread "main" org.eclipse.aether.collection.DependencyCollectionException: Failed to collect dependencies at io.thorntail.jaxrs.jar:2.2.1.Final
        at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:291)
        ...
      Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact io.thorntail:jaxrs:pom:2.2.1.Final from/to jboss-pulic-repository-group (https://repository.jboss.org/nexus/content/groups/public/): repository.jboss.org
        ...
      Caused by: java.net.UnknownHostException: repository.jboss.org
        at java.net.Inet6AddressImpl.lookupAllHostAddr(NativeMethod)
        ...
      

      It appears CachingArtifactResolvingHelper is ignoring the ${user.home}/.m2/settings.xml mirror values and going to hosts direct via it's own list which is then failing as the hosts are not available.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  thomas.marc.petit Thomas Petit
                  Reporter:
                  dansiviter Daniel Siviter
                • Votes:
                  2 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: