Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Problem with groovy-all dependency #2635

Open
jusabatier opened this issue Oct 19, 2022 · 0 comments
Open

Problem with groovy-all dependency #2635

jusabatier opened this issue Oct 19, 2022 · 0 comments

Comments

@jusabatier
Copy link

When using print-lib as a dependency, the maven build crash because it can't found the org.codehaus.groovy:groovy-all dependency.

It appear that we have to set pom type to this dependency (cf. https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-all/3.0.13)

A workaround is to exclude it from print-lib dependencies and directly add it manually :

<dependency>
    <groupId>org.codehaus.groovy</groupId>
    <artifactId>groovy-all</artifactId>
    <version>3.0.13</version>
    <scope>compile</scope>
    <type>pom</type>
    <!-- This is for not complains in test when compile --> 
    <exclusions>
        <exclusion>
            <groupId>org.codehaus.groovy</groupId>
            <artifactId>groovy-testng</artifactId>
        </exclusion>
    </exclusions>
</dependency>
<dependency>
    <groupId>org.mapfish.print</groupId>
    <artifactId>print-lib</artifactId>
    <version>3.29.4</version>
    <exclusions>
        <exclusion>
            <groupId>org.codehaus.groovy</groupId>
            <artifactId>groovy-all</artifactId>
        </exclusion>
</dependency>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants