When running a dry run for a recipe I am getting this error:
[WARNING] Failed to access maven repository https://maven.java.net/content/repositories/releases javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
Caused by: java.security.cert.CertPathValidatorException: validity check failed
Caused by: java.security.cert.CertificateExpiredException: NotAfter: Wed Mar 20 18:59:59 COT 2024
The same thing is happening for Failed to access maven repository https://maven.java.net/content/repositories/snapshots.
I downgraded maven to 3.6.3 from 3.9.5 but this did not resolve the issue. I am confused because I expected it to work with maven 3.6.3. Not sure if openrewrite uses its own version of maven.