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

JiaLiangC pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 40ecc7eeaa AMBARI-26569: Exclude legacy transitive dependencies 
causing runtime … (#4125)
40ecc7eeaa is described below

commit 40ecc7eeaa65495c7fa2cd49bd575a1e99b44bf3
Author: Jefferson Almeida <[email protected]>
AuthorDate: Wed Jul 1 06:49:41 2026 -0300

    AMBARI-26569: Exclude legacy transitive dependencies causing runtime … 
(#4125)
    
    * AMBARI-26569: Exclude legacy transitive dependencies causing runtime 
conflicts in server assembly
    
    * AMBARI-26570: Move transitive dependency exclusions from assembly to POM 
for better dependency management
    
    ---------
    
    Co-authored-by: Jeff Almeida <[email protected]>
---
 ambari-server/pom.xml                        | 40 ++++++++++++++++++++++++++++
 ambari-server/src/main/assemblies/server.xml |  2 +-
 2 files changed, 41 insertions(+), 1 deletion(-)

diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
index 6327e8de95..a701affde3 100644
--- a/ambari-server/pom.xml
+++ b/ambari-server/pom.xml
@@ -1582,6 +1582,18 @@
           <groupId>com.sun.jersey</groupId>
           <artifactId>jersey-server</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>com.sun.jersey</groupId>
+          <artifactId>jersey-json</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>com.sun.jersey</groupId>
+          <artifactId>jersey-servlet</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>com.sun.jersey</groupId>
+          <artifactId>jersey-client</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
     <dependency>
@@ -1870,6 +1882,22 @@
           <groupId>com.sun.jersey</groupId>
           <artifactId>jersey-servlet</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>com.sun.jersey</groupId>
+          <artifactId>jersey-json</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>com.sun.jersey</groupId>
+          <artifactId>jersey-client</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>javax.ws.rs</groupId>
+          <artifactId>jsr311-api</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>net.sf.ehcache</groupId>
+          <artifactId>ehcache</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
     <dependency>
@@ -1965,6 +1993,18 @@
           <groupId>com.sun.jersey</groupId>
           <artifactId>jersey-server</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>com.sun.jersey</groupId>
+          <artifactId>jersey-client</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>javax.ws.rs</groupId>
+          <artifactId>jsr311-api</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>net.sf.ehcache</groupId>
+          <artifactId>ehcache</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
     <dependency>
diff --git a/ambari-server/src/main/assemblies/server.xml 
b/ambari-server/src/main/assemblies/server.xml
index 9f5c1aa163..623e9c9537 100644
--- a/ambari-server/src/main/assemblies/server.xml
+++ b/ambari-server/src/main/assemblies/server.xml
@@ -466,4 +466,4 @@
       <scope>runtime</scope>
     </dependencySet>
   </dependencySets>
-</assembly>
+</assembly>
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to