Running the Apache Atlas build instructions fails at the following step: mvn clean -DskipTests package, due to an invalid certificate:
[ERROR] Failed to execute goal on project atlas-testtools: Could not resolve dependencies for project org.apache.atlas:atlas-testtools:jar:2.2.0: Failed to collect dependencies at org.apache.solr:solr-test-framework:jar:8.6.3 -> org.restlet.jee:org.restlet:jar :2.4.3: Failed to read artifact descriptor for org.restlet.jee:org.restlet:jar:2.4.3: Could not transfer artifact org.restlet.jee: org.restlet:pom:2.4.3 from/to maven-restlet (https://maven.restlet.com): sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed: NotAfter: Sat Dec 11 22:28:29 UTC 2021 -> [Help 1]
I reported this and another issue at user@atlas.apache.org, and have yet to hear back. I also attempted to reach out to the organization that mantains maven.restlet.com, Talend, but have yet to hear back. I appears they migrated their maven repository to maven.restlet.talend.com, which maven.restlet.com would redirect to if the ssl expiration warning is ignored.
One workaround is to disable ssl entirely as follows:
mvn clean -DskipTests -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true install
But this is a bad idea this could run malicious code.