openam-jp / openam

Other
32 stars 15 forks source link

Update Restlet Maven repository #271

Closed tsujiguchitky closed 1 year ago

tsujiguchitky commented 1 year ago

Description

OpenAM uses http://maven.restlet.com as Restlet Maven repository. And nightly build use https://maven.restlet.com (workaround for newer Maven blocking HTTP access. see #243).

Now, nightly build have been failing because maven.restlet.com server certificate has expired.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:47 min
[INFO] Finished at: 2022-11-21T03:16:07+00:00
[INFO] Final Memory: 207M/2815M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project openam-http-client: Could not resolve dependencies for project jp.openam:openam-http-client:jar:15.0.0-SNAPSHOT: Failed to collect dependencies at org.restlet.jee:org.restlet:jar:2.3.4: Failed to read artifact descriptor for org.restlet.jee:org.restlet:jar:2.3.4: Could not transfer artifact org.restlet.jee:org.restlet:pom:2.3.4 from/to restlet-repository (https://maven.restlet.com): PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed: NotAfter: Sun Nov 13 17:05:56 UTC 2022 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :openam-http-client

Looking at the Restlet user guide, you'll see an example below.

<repository>
  <id>maven-restlet</id>
  <name>Public online Restlet repository</name>
  <url>https://maven.restlet.talend.com</url>
</repository>

Perhaps we need to update the Maven repository URL.