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
Enabling dependencyConvergence and requireUpperBoundDeps (via maven-enforcer-plugin, see #6602) surfaces existing dependency drift across the whole reactor. This issue tracks the actual alignment work so those rules can be promoted to hard-fail; it is intentionally split out of #6602, which stays scoped to introducing the plugin + version guardrails.
Findings
Audit on commit 297ac6f849857bd0c2ad368709013e98494b0330 (2.7.2-SNAPSHOT):
191 of 213 reactor projects report dependency-rule violations.
15 distinct artifact coordinates for dependencyConvergence, 36 for requireUpperBoundDeps (39 across both rules).
Counts include transitive problems inherited by downstream projects and are not 191 independent root causes.
Tested at 297ac6f849857bd0c2ad368709013e98494b0330 (2.7.2-SNAPSHOT), using the Maven wrapper (3.6.3) and JDK 21.0.10. Invoke the dependency rules explicitly; this does not require editing any POM or enabling them in the #6602 version-guardrail change:
The last override is for collecting all diagnostics; a successful exit in that mode does not establish that the graph is aligned. A plain validate after the scoped #6602 change checks toolchain versions only, so it will not reproduce these dependency errors.
Hi, I'd like to help with the checker-qual and error_prone_annotations alignment slice of this issue, if nobody is already working on it.
Thanks @yangjj-iso for the verified reproduction. I reproduced the conflicts on master at 8f3ee32 and prepared a small root dependency-management change for checker-qual 3.33.0 and error_prone_annotations 2.41.0, matching the highest versions already requested on the shenyu-common paths.
Local validation with JDK 17 and the Maven wrapper:
shenyu-common and its four-project reactor pass verify, Checkstyle and Apache RAT: 506 tests passed, with one existing skipped test.
DependencyConvergence passes for the selected reactor after the change.
Activity
yangjj-iso commentedon Oct 16, 2026
As requested in the #6602 rollout decision, here is the verified
shenyu-commonminimal reproduction.Tested at
297ac6f849857bd0c2ad368709013e98494b0330(2.7.2-SNAPSHOT), using the Maven wrapper (3.6.3) and JDK 21.0.10. Invoke the dependency rules explicitly; this does not require editing any POM or enabling them in the #6602 version-guardrail change:On Windows, use
.\mvnw.cmdand put the arguments on one line (quote the-Denforcer.rules=...argument in PowerShell).The root,
shenyu-register-center, andshenyu-register-protocolpass. The command exits 1 atshenyu-common, with these failures:dependencyConvergenceorg.checkerframework:checker-qualshenyu-common -> caffeine:2.9.3 -> checker-qual:3.19.0versusshenyu-common -> guava:32.0.0-jre -> checker-qual:3.33.0dependencyConvergencecom.google.errorprone:error_prone_annotationsgson:2.13.2 -> 2.41.0,caffeine:2.9.3 -> 2.10.0, andguava:32.0.0-jre -> 2.18.0requireUpperBoundDepsorg.checkerframework:checker-qualrequireUpperBoundDepsorg.slf4j:slf4j-apishenyu-common -> oshi-core:6.10.0 -> slf4j-api:2.0.17.Representative output:
For a non-blocking whole-reactor inventory using the same explicit rules:
The last override is for collecting all diagnostics; a successful exit in that mode does not establish that the graph is aligned. A plain
validateafter the scoped #6602 change checks toolchain versions only, so it will not reproduce these dependency errors.laomo-hub commentedon Oct 16, 2026
Hi, I'd like to help with the checker-qual and error_prone_annotations alignment slice of this issue, if nobody is already working on it.
Thanks @yangjj-iso for the verified reproduction. I reproduced the conflicts on master at 8f3ee32 and prepared a small root dependency-management change for checker-qual 3.33.0 and error_prone_annotations 2.41.0, matching the highest versions already requested on the shenyu-common paths.
Local validation with JDK 17 and the Maven wrapper:
If this scope is available, could I take this slice and submit a focused PR? Please let me know if it overlaps with anyone's ongoing work. Thanks!
fix common : align annotation dependency versions.
fix common : align annotation dependency versions. (#7688)