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

Regression of #228 - Maven repo for Restlet in published pom.xml #351

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

Comments

@adamretter
Copy link

There seems to be a regression of #228. That is to say that the Maven Repo for Restlet is no longer declared in the published pom.xml for XML Calabash 1.5.7-120. I haven't checked all versions so I am not sure when this regression was introduced.

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: The following artifacts could not be resolved: org.restlet.jee:org.restlet:jar:2.2.2 (absent), org.restlet.jee:org.restlet.ext.fileupload:jar:2.2.2 (absent), org.restlet.jee:org.restlet.ext.slf4j:jar:2.2.2 (absent): Could not find artifact org.restlet.jee:org.restlet:jar:2.2.2 in central (https://repo.maven.apache.org/maven2) -> [Help 1]

Adding the following to the local pom.xml fixes this:

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

However, this should not be necessary as it should really be present in the published pom.xml for XML Calabash as per: 3510f54

@adamretter
Copy link
Author

Here is a PR that might help - #352
Note - I haven't tested it.

# 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