Morning,
I must submit this question, as I have been fighting for 3 days with using the Maven repository in Eclipse Oxygen. I think I've used all existing stack overflow pages.
The Maven version shown by Eclipse is Embedded 3.3.9.
When opening the POM.xml, I will get the following:
Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central (https://repo.maven.apache.org/maven2): Failed to connect to repo.maven.apache.org/151.101.36.215:443
To connect to the internet I am behind a corporate proxy, so the Eclipse network connections use Active Provider and proxy entries for HTTP/HTTPS.
I can open the Maven repository from a browser (https://repo.maven.apache.org/maven2/).
What I have tried to date is as follows: - use a custom settings.xml file, either with Maven repositories (tried with https or http) or a proxy or together. The file is in C:\Users\user.m2 and I load it from Eclipse. - save the certificate that I see in a browser and put it in the JDK/JRE key import into cacerts. - check that the root certificate of the Maven repo (DigiCert Global Root CA) are trusted.
This page Problems using Maven and SSL behind proxy shows many of the tips I've been trying to apply to no avail.
I am also not able to explore the repository from the Available Software dialog, whether I set an HTTP (http://repo1.maven.org/maven2) or HTTPS (https://repo.maven.apache.org/maven2/) for Maven. Eclipse invariably replies "org.eclipse.equinox.p2.core.ProvisionException. Connect to repo1.maven.org:80 timed out".
All other repositories work ok.
Any idea?...