Could not transfer artifact net.java.dev.jna:jna:pom:5.5.0 from/to central (http://repo1.maven.org/maven2/): Transfer failed for http://repo1.maven.org/maven2/net/java/dev/jna/jna/5.5.0/jna-5.5.0.pom 501 HTTPS Required

Anton Vodonosov <[email protected]> Fri, 13 Mar 2020 13:53:21 +0300
Newsgroups gmane.editors.j.devel
Message-ID <[email protected]>
The following error started to happen recently (in my case in Travis CI runs of a library, which includes ABCL as one of the lisps):


    jnaASDF could not load  because Java exception 'org.eclipse.aether.collection.DependencyCollectionException: Failed to read artifact descriptor for net.java.dev.jna:jna:jar:5.5.0'..

    Could not transfer artifact net.java.dev.jna:jna:pom:5.5.0 from/to central (http://repo1.maven.org/maven2/): Transfer failed for http://repo1.maven.org/maven2/net/java/dev/jna/jna/5.5.0/jna-5.5.0.pom 501 HTTPS Required


It must be caused by the following change in the maven central repo:
https://support.sonatype.com/hc/en-us/articles/360041287334-Central-501-HTTPS-Required

What is the best way to solve this?
In other words, how to make sure ABCL uses the HTTPS versions of the
central repo URLs?

Best regards,
- Anton