While updating this library in my project to the latest 6.3.0 version I was confronted with several dependency convergence errors.
I have this check in my project: https://maven.apache.org/enforcer/enforcer-rules/dependencyConvergence.html (here: https://github.com/nielsbasjes/codeowners/blob/main/pom.xml#L392)
Proposal: You also include this check in your build and from there this problem should no longer occur.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.6.2:enforce (Check build environment requirements) on project codeowners-validator:
[ERROR] Rule 4: org.apache.maven.enforcer.rules.dependency.DependencyConvergence failed with message:
[ERROR] Failed while enforcing releasability.
[ERROR]
[ERROR] Dependency convergence error for com.fasterxml.jackson.core:jackson-databind:jar:2.18.6. Paths to dependency are:
[ERROR] +-nl.basjes.codeowners:codeowners-validator:jar:1.14.2-SNAPSHOT
[ERROR] +-org.gitlab4j:gitlab4j-api:jar:6.3.0:compile
[ERROR] +-org.gitlab4j:gitlab4j-models:jar:6.3.0:compile
[ERROR] +-com.fasterxml.jackson.core:jackson-databind:jar:2.18.6:compile
[ERROR] and
[ERROR] +-nl.basjes.codeowners:codeowners-validator:jar:1.14.2-SNAPSHOT
[ERROR] +-org.gitlab4j:gitlab4j-api:jar:6.3.0:compile
[ERROR] +-org.glassfish.jersey.media:jersey-media-json-jackson:jar:3.1.10:compile
[ERROR] +-com.fasterxml.jackson.core:jackson-databind:jar:2.18.0:compile
[ERROR] and
[ERROR] +-nl.basjes.codeowners:codeowners-validator:jar:1.14.2-SNAPSHOT
[ERROR] +-org.gitlab4j:gitlab4j-api:jar:6.3.0:compile
[ERROR] +-org.glassfish.jersey.media:jersey-media-json-jackson:jar:3.1.10:compile
[ERROR] +-com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations:jar:2.18.0:compile
[ERROR] +-com.fasterxml.jackson.core:jackson-databind:jar:2.18.0:compile
[ERROR]
[ERROR]
[ERROR] Dependency convergence error for com.fasterxml.jackson.core:jackson-annotations:jar:2.18.6. Paths to dependency are:
[ERROR] +-nl.basjes.codeowners:codeowners-validator:jar:1.14.2-SNAPSHOT
[ERROR] +-org.gitlab4j:gitlab4j-api:jar:6.3.0:compile
[ERROR] +-org.gitlab4j:gitlab4j-models:jar:6.3.0:compile
[ERROR] +-com.fasterxml.jackson.core:jackson-annotations:jar:2.18.6:compile
[ERROR] and
[ERROR] +-nl.basjes.codeowners:codeowners-validator:jar:1.14.2-SNAPSHOT
[ERROR] +-org.gitlab4j:gitlab4j-api:jar:6.3.0:compile
[ERROR] +-org.gitlab4j:gitlab4j-models:jar:6.3.0:compile
[ERROR] +-com.fasterxml.jackson.core:jackson-databind:jar:2.18.6:compile
[ERROR] +-com.fasterxml.jackson.core:jackson-annotations:jar:2.18.6:compile
[ERROR] and
[ERROR] +-nl.basjes.codeowners:codeowners-validator:jar:1.14.2-SNAPSHOT
[ERROR] +-org.gitlab4j:gitlab4j-api:jar:6.3.0:compile
[ERROR] +-org.glassfish.jersey.media:jersey-media-json-jackson:jar:3.1.10:compile
[ERROR] +-com.fasterxml.jackson.core:jackson-annotations:jar:2.18.0:compile
[ERROR] and
[ERROR] +-nl.basjes.codeowners:codeowners-validator:jar:1.14.2-SNAPSHOT
[ERROR] +-org.gitlab4j:gitlab4j-api:jar:6.3.0:compile
[ERROR] +-org.glassfish.jersey.media:jersey-media-json-jackson:jar:3.1.10:compile
[ERROR] +-com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations:jar:2.18.0:compile
[ERROR] +-com.fasterxml.jackson.core:jackson-annotations:jar:2.18.0:compile
[ERROR]
[ERROR]
[ERROR] Dependency convergence error for com.fasterxml.jackson.core:jackson-core:jar:2.18.6. Paths to dependency are:
[ERROR] +-nl.basjes.codeowners:codeowners-validator:jar:1.14.2-SNAPSHOT
[ERROR] +-org.gitlab4j:gitlab4j-api:jar:6.3.0:compile
[ERROR] +-org.gitlab4j:gitlab4j-models:jar:6.3.0:compile
[ERROR] +-com.fasterxml.jackson.core:jackson-databind:jar:2.18.6:compile
[ERROR] +-com.fasterxml.jackson.core:jackson-core:jar:2.18.6:compile
[ERROR] and
[ERROR] +-nl.basjes.codeowners:codeowners-validator:jar:1.14.2-SNAPSHOT
[ERROR] +-org.gitlab4j:gitlab4j-api:jar:6.3.0:compile
[ERROR] +-org.glassfish.jersey.media:jersey-media-json-jackson:jar:3.1.10:compile
[ERROR] +-com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations:jar:2.18.0:compile
[ERROR] +-com.fasterxml.jackson.core:jackson-core:jar:2.18.0:compile
[ERROR]
While updating this library in my project to the latest 6.3.0 version I was confronted with several dependency convergence errors.
I have this check in my project: https://maven.apache.org/enforcer/enforcer-rules/dependencyConvergence.html (here: https://github.com/nielsbasjes/codeowners/blob/main/pom.xml#L392)
Proposal: You also include this check in your build and from there this problem should no longer occur.