PHOENIX-7944 maven-dependency-plugin analyze-only fails on hbase-2.6.0 profile due to bouncycastle jdk15on/jdk18on mismatch#2552
Merged
Conversation
…0 profile due to bouncycastle jdk15on/jdk18on mismatch Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
virajjasani
approved these changes
Jun 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PHOENIX-7944
The 5.3.2RC1
publish-releasebuild failed deterministically on thehbase-2.6.0profile (3rd of 4:2.5.0 2.5 2.6.0 2.6).maven-dependency-plugin:3.1.1:analyze-only (enforce-dependencies)on phoenix-core reports:org.bouncycastle:bcprov-jdk15on:jar:1.68:testorg.bouncycastle:bcprov-jdk18on:jar:1.79:testRoot cause
The
2.6.0profile resolves HBase to2.6.1-hadoop3(hbase-2.6.0.runtime.version), whose test deps transitively pull the OLDbcprov-jdk15on:1.68, while phoenix-core declares the NEWbcprov-jdk18on:1.79. The 2.5.x profiles do not pull jdk15on, so they pass — which is why RC0 (no 2.6.0 profile) and the 5.2.2 release never hit this. Adding 2.6.0 tohbase.profile.list(#2550) exposed the pre-existing latent mismatch.Fix
In the root pom
maven-dependency-pluginconfig, ignoreorg.bouncycastle:bcprov-jdk18onas unused-declared andorg.bouncycastle:bcprov-jdk15onas used-undeclared — mirroring the existing log4j / commons-configuration2 cross-profile handling.🤖 Generated with Claude Code