Skip to content

JUnit mistakenly included as production dependency instead of test #665

@ThomasVitale

Description

@ThomasVitale

Description of the bug

The published land.oras:oras-java-sdk library brings transitively org.junit.jupiter:junit-jupiter-params, which has been declared with compile scope instead of test scope. The current workaround is excluding JUnit when importing the ORAS Java SDK:

    implementation("land.oras:oras-java-sdk:${orasJavaVersion}") {
        exclude group: 'org.junit.jupiter', module: 'junit-jupiter-params'
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions