You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by wu...@apache.org on 2023/02/24 09:51:47 UTC

[ambari-metrics] 02/04: AMBARI-25864: Fix an unit test failure on ambari-metrics-common (#102)

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

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

commit 385f999e989071bdad4f0bad1dcf7d8d465fcac1
Author: Kengo Seki <se...@apache.org>
AuthorDate: Fri Feb 24 17:24:38 2023 +0900

    AMBARI-25864: Fix an unit test failure on ambari-metrics-common (#102)
---
 ambari-metrics-common/pom.xml | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/ambari-metrics-common/pom.xml b/ambari-metrics-common/pom.xml
index f90c92f..a5199ee 100644
--- a/ambari-metrics-common/pom.xml
+++ b/ambari-metrics-common/pom.xml
@@ -151,6 +151,11 @@
       <artifactId>commons-math3</artifactId>
       <version>3.1.1</version>
     </dependency>
+    <dependency>
+      <groupId>org.apache.httpcomponents</groupId>
+      <artifactId>httpclient</artifactId>
+      <version>4.5.2</version>
+    </dependency>
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
@@ -174,9 +179,10 @@
       <scope>test</scope>
     </dependency>
     <dependency>
-      <groupId>org.apache.httpcomponents</groupId>
-      <artifactId>httpclient</artifactId>
-      <version>4.5.2</version>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+      <version>${slf4j.version}</version>
+      <scope>test</scope>
     </dependency>
   </dependencies>
 </project>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org