-
Notifications
You must be signed in to change notification settings - Fork 9
Description
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 :
- maven central : https://repo1.maven.org/maven2/com/github/java-json-tools/jackson-coreutils/2.0/jackson-coreutils-2.0.pom
- jitpack.io : https://jitpack.io/com/github/java-json-tools/jackson-coreutils/2.0/jackson-coreutils-2.0.pom
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 ?