You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logbook 3.9.0 suffers a dependency convergence error with org.apiguardian:apiguardian-api 1.1.1 and 1.1.2, causing difficulties with usage in Maven projects that enable that Enforcer rule.
Description
Since #1082, every Logbook artifact pulls in org.apiguardian:apiguardian-api:1.1.2. They also pull in org.zalando:faux-pas:0.9.0, which uses org.apiguardian:apiguardian-api:1.1.1, all of them in compile scope. Any Maven project that enables the Enforcer plugin's <dependencyConvergence/> rule will be prevented from building until org.apiguardian:apiguardian-api is transitively excluded and defined locally.
Possible Fix
Bump org.apiguardian:apiguardian-api in faux-pas, then bump faux-pas.
Exclude org.apiguardian:apiguardian-api from the faux-pas dependency declaration.
Mark org.apiguardian:apiguardian-api optional.
This is not addressed by the upstream project, but this really looks like the type of dependency that has no business being pulled into transitive compile scope by default. It contributes nothing to a downstream consumer at compile time.
I have not verified that this particular suggestion suffices.
The text was updated successfully, but these errors were encountered:
Logbook 3.9.0 suffers a dependency convergence error with
org.apiguardian:apiguardian-api
1.1.1 and 1.1.2, causing difficulties with usage in Maven projects that enable that Enforcer rule.Description
Since #1082, every Logbook artifact pulls in
org.apiguardian:apiguardian-api:1.1.2
. They also pull inorg.zalando:faux-pas:0.9.0
, which usesorg.apiguardian:apiguardian-api:1.1.1
, all of them in compile scope. Any Maven project that enables the Enforcer plugin's<dependencyConvergence/>
rule will be prevented from building untilorg.apiguardian:apiguardian-api
is transitively excluded and defined locally.Possible Fix
org.apiguardian:apiguardian-api
infaux-pas
, then bumpfaux-pas
.org.apiguardian:apiguardian-api
from thefaux-pas
dependency declaration.org.apiguardian:apiguardian-api
optional.The text was updated successfully, but these errors were encountered: