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

Swarmtool does not use https for maven

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 2.6.0.Final
    • Fix Version/s: 2.7.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      Since January 15, 2020, Maven Central does not support communication over plain HTTP. Instead HTTPS has to be used: https://support.sonatype.com/hc/en-us/articles/360041287334.

      When using Swarmtool Standalone, a bunch of errors such as the following are thrown:
      org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact io.thorntail:ee:pom:2.6.0.Final from/to central (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/io/thorntail/ee/2.6.0.Final/ee-2.6.0.Final.pom

      Swarmtool uses an old version of the Shrinkwrap Resolver, which addresses the issue in a more recent version: https://github.com/shrinkwrap/resolver/commit/c529fa2e99e70556171e9911f33c60a7d800c369#diff-728eaf5d6e16290570bc8ac51c1b5377

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lthon Ladislav Thon
                Reporter:
                zud_uq Daniel Zupan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: