the issue is related to the truststore of your JDK.
One possible cause could be that you run behind a proxy and need add the certs for the proxy to your truststore, see https://techgrafitti.wordpress.com/2011/03/02/maven-unable-to-find-valid-certification-path-to-requested-target-issue/
Unfortunately that article is not detailed enough for my simple mind to follow. For the step "Go to the mirror site in you web browser and save the certificate for the site at a location", I used http://www.myhost.com/maven/jdk14 (don't know if that is correct or not but that is what is in the settings.xml file. I am using jdk1.8.0_241 so what mirror site should I use?
Did you know Atlassian Access offers more than SAML single sign-on for Atlassian cloud products, like Jira and Confluence? Whether you're just starting to plan for your organization or in the pr...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events