Skip to content

Same maven coordinates but different content between maven central and jitpack.ioΒ #59

@jeremiehuchet

Description

@jeremiehuchet

I noticed that artifact com.github.java-json-tools:jackson-coreutils:2.0 doesn't have the same content in maven central and jitpack.io repository :

It caused me trouble executing plugin org.openapi:openapi-generator-maven-plugin:5.1.1 on a project using artifacts from jitpack.io.
Repositories declared in the pom.xml takes precedence over maven central and the jackson-coreutils artifact from jitpack.io was fetch. This artifact depends on com.github.java-json-tools.jackson-coreutils:jackson-coreutils:2.0 (please note the different groupid) which seems unavailable neither in maven central nor jitpack.io.
As a workaround, I declared the maven central repository before the jitpack.io repository in my pom.xml.

It seems to me it is dangerous that the same artifact coordinates are used across different repositories with different artifact content.

Is this project managing deployments to jitpack.io ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions