This is an automated email from the ASF dual-hosted git repository.

lokiore pushed a commit to branch 5.3
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/5.3 by this push:
     new 3a4422190b PHOENIX-7944 maven-dependency-plugin analyze-only fails on 
hbase-2.6.0 profile due to bouncycastle jdk15on/jdk18on mismatch (#2552)
3a4422190b is described below

commit 3a4422190bd6768fc8f9136b63e5ae15ff2fffd1
Author: Lokesh Khurana <[email protected]>
AuthorDate: Sun Jun 28 12:55:48 2026 -0700

    PHOENIX-7944 maven-dependency-plugin analyze-only fails on hbase-2.6.0 
profile due to bouncycastle jdk15on/jdk18on mismatch (#2552)
    
    Co-authored-by: Claude Opus 4.8 <[email protected]>
---
 pom.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/pom.xml b/pom.xml
index 5f771c3a53..a43a3b6ac3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1653,6 +1653,10 @@
               
<ignoredUnusedDeclaredDependency>org.apache.logging.log4j:log4j-core</ignoredUnusedDeclaredDependency>
               
<ignoredUnusedDeclaredDependency>org.apache.logging.log4j:log4j-slf4j-impl</ignoredUnusedDeclaredDependency>
               
<ignoredUnusedDeclaredDependency>org.apache.logging.log4j:log4j-1.2-api</ignoredUnusedDeclaredDependency>
+              <!-- The bouncycastle artifact name/version differs across HBase 
profiles: we declare
+                   jdk18on:1.79, but the 2.6.0 profile's HBase pulls 
jdk15on:1.68 transitively. The
+                   analyzer then flags jdk18on as unused for that profile. -->
+              
<ignoredUnusedDeclaredDependency>org.bouncycastle:bcprov-jdk18on</ignoredUnusedDeclaredDependency>
             </ignoredUnusedDeclaredDependencies>
             <ignoredUsedUndeclaredDependencies>
               <ignoredUsedUndeclaredDependency>
@@ -1670,6 +1674,11 @@
                   (which we do not use directly at all)-->
                 org.apache.commons:commons-configuration2
               </ignoredUsedUndeclaredDependency>
+              <ignoredUsedUndeclaredDependency>
+                <!-- The 2.6.0 profile's HBase (2.6.1-hadoop3) pulls 
bcprov-jdk15on:1.68
+                  transitively for tests, while we declare jdk18on (see note 
above). -->
+                org.bouncycastle:bcprov-jdk15on
+              </ignoredUsedUndeclaredDependency>
             </ignoredUsedUndeclaredDependencies>
           </configuration>
           <executions>

Reply via email to