Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Outdated URL for the Restlet Maven Repo #350

Closed
adamretter opened this issue Jun 18, 2024 · 1 comment
Closed

Outdated URL for the Restlet Maven Repo #350

adamretter opened this issue Jun 18, 2024 · 1 comment

Comments

@adamretter
Copy link

adamretter commented Jun 18, 2024

If you add a dependency on XMLCalabash 1.5.7-120 to your Java project, e.g.:

 <dependency>
    <groupId>com.xmlcalabash</groupId>
    <artifactId>xmlcalabash</artifactId>
</dependency>

If you don't already have a locally cached copy of the Restlet dependency and you try and compile mvn compile you will get the following error:

[ERROR] Failed to execute goal on project pkg-calabash: Could not resolve dependencies for project org.expath.packaging:pkg-calabash:jar:2.0.2-SNAPSHOT: Failed to collect dependencies at com.xmlcalabash:xmlcalabash:jar:1.5.7-120 -> org.restlet.jee:org.restlet:jar:2.2.2: Failed to read artifact descriptor for org.restlet.jee:org.restlet:jar:2.2.2: The following artifacts could not be resolved: org.restlet.jee:org.restlet:pom:2.2.2 (absent): Could not transfer artifact org.restlet.jee:org.restlet:pom:2.2.2 from/to maven-restlet (https://maven.restlet.org): PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed: NotAfter: Fri Dec 16 19:19:29 CET 2022 -> [Help 1]

The issue is that the SSL certificate used for https://maven.restlet.org (which is the Maven repo for the Restlet dependency of Calabash) expired in December 2022:

$ curl -vkI https://maven.restlet.org

...

* Server certificate:
*  subject: CN=maven.restlet.org
*  start date: Nov 14 18:19:29 2021 GMT
*  expire date: Dec 16 18:19:29 2022 GMT

Previously here - #228 @ndw kindly added the Maven Repo for Restlet to the published pom.xml files. However, it looks like (see: https://restlet.talend.com/downloads/current/#sample-pom) the URL of the Maven repo now needs to be updated to point at: https://maven.restlet.talend.com.

Thanks.

@adamretter adamretter changed the title Outdates URL of the Restlet Maven Repo. Outdated URL for the Restlet Maven Repo Jun 18, 2024
@adamretter
Copy link
Author

adamretter commented Jun 18, 2024

Actually I just noticed I had a local override in my pom.xml hierarchy that was causing the above issue. Resolving that revealed another issue that I will open separately now.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant