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

jialiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ambari-metrics.git


The following commit(s) were added to refs/heads/master by this push:
     new f6e564f  AMBARI-26336: Fix Ambari Metrics start failure bug (#144)
f6e564f is described below

commit f6e564fbf8c271183b031a397094f3acead172fb
Author: jialiang <[email protected]>
AuthorDate: Thu Mar 20 19:07:27 2025 +0800

    AMBARI-26336: Fix Ambari Metrics start failure bug (#144)
---
 ambari-metrics-timelineservice/pom.xml | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/ambari-metrics-timelineservice/pom.xml 
b/ambari-metrics-timelineservice/pom.xml
index 2ae86df..a8cdcad 100644
--- a/ambari-metrics-timelineservice/pom.xml
+++ b/ambari-metrics-timelineservice/pom.xml
@@ -364,12 +364,6 @@
       <version>${project.version}</version>
     </dependency>
 
-    <dependency>
-      <groupId>javax.servlet</groupId>
-      <artifactId>servlet-api</artifactId>
-      <version>2.5</version>
-    </dependency>
-    <!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
     <dependency>
       <groupId>org.apache.hadoop</groupId>
       <artifactId>hadoop-common</artifactId>
@@ -556,6 +550,10 @@
       <version>2.13</version>
       <scope>test</scope>
       <exclusions>
+        <exclusion>
+          <groupId>javax.servlet</groupId>
+          <artifactId>servlet-api</artifactId>
+        </exclusion>
         <exclusion>
           <groupId>org.slf4j</groupId>
           <artifactId>slf4j-nop</artifactId>


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

Reply via email to