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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git


The following commit(s) were added to refs/heads/master by this push:
     new 1e0dd8942 Remove Slf4j console warnings at build time
1e0dd8942 is described below

commit 1e0dd894205ed4839d03812002c90bf4a7ba1a1d
Author: Gary D. Gregory <[email protected]>
AuthorDate: Fri Jan 31 09:12:14 2025 -0500

    Remove Slf4j console warnings at build time
    
    Redirect Slf4j to Log4j
---
 commons-vfs2-hdfs/pom.xml        |  6 +++++-
 commons-vfs2-jackrabbit2/pom.xml | 23 +++++------------------
 commons-vfs2/pom.xml             |  9 +++++----
 3 files changed, 15 insertions(+), 23 deletions(-)

diff --git a/commons-vfs2-hdfs/pom.xml b/commons-vfs2-hdfs/pom.xml
index 85fd054f0..96a621b7e 100644
--- a/commons-vfs2-hdfs/pom.xml
+++ b/commons-vfs2-hdfs/pom.xml
@@ -34,7 +34,6 @@
   <description>Apache Commons VFS is a Virtual File System library - Apache 
Hadoop HDFS provider.</description>
 
   <dependencies>
-
     <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-vfs2</artifactId>
@@ -51,6 +50,11 @@
       <groupId>org.apache.hadoop</groupId>
       <artifactId>hadoop-hdfs</artifactId>
     </dependency>
+    <dependency>
+      <groupId>org.apache.logging.log4j</groupId>
+      <artifactId>log4j-slf4j2-impl</artifactId>
+      <scope>test</scope>
+    </dependency>
     <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-vfs2</artifactId>
diff --git a/commons-vfs2-jackrabbit2/pom.xml b/commons-vfs2-jackrabbit2/pom.xml
index 59b238b98..f0f05ee09 100644
--- a/commons-vfs2-jackrabbit2/pom.xml
+++ b/commons-vfs2-jackrabbit2/pom.xml
@@ -34,22 +34,23 @@
   <description>Apache Commons VFS is a Virtual File System library - 
Jackrabbit2-based WebDAV provider.</description>
 
   <dependencies>
-
+    <dependency>
+      <groupId>org.apache.logging.log4j</groupId>
+      <artifactId>log4j-slf4j2-impl</artifactId>
+      <scope>test</scope>
+    </dependency>
     <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-vfs2</artifactId>
     </dependency>
-
     <dependency>
       <groupId>commons-logging</groupId>
       <artifactId>commons-logging</artifactId>
     </dependency>
-
     <dependency>
       <groupId>org.apache.httpcomponents</groupId>
       <artifactId>httpclient</artifactId>
     </dependency>
-
     <dependency>
       <groupId>org.apache.jackrabbit</groupId>
       <artifactId>jackrabbit-webdav</artifactId>
@@ -61,14 +62,12 @@
         </exclusion>
       </exclusions>
     </dependency>
-
     <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-vfs2</artifactId>
        <type>test-jar</type>
        <scope>test</scope>
     </dependency>
-
     <dependency>
       <groupId>org.junit.jupiter</groupId>
       <artifactId>junit-jupiter-engine</artifactId>
@@ -79,42 +78,30 @@
       <artifactId>junit-vintage-engine</artifactId>
       <scope>test</scope>
     </dependency>
-
     <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-lang3</artifactId>
     </dependency>
-
     <dependency>
       <groupId>commons-io</groupId>
       <artifactId>commons-io</artifactId>
     </dependency>
-
     <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
       <scope>test</scope>
     </dependency>
-
-    <dependency>
-      <groupId>org.apache.logging.log4j</groupId>
-      <artifactId>log4j-slf4j-impl</artifactId>
-      <scope>test</scope>
-    </dependency>
-
     <dependency>
       <groupId>org.apache.logging.log4j</groupId>
       <artifactId>log4j-core</artifactId>
       <scope>test</scope>
     </dependency>
-
     <!-- Test WebDAV with Apache Jackrabbit2 Standalone Components -->
     <dependency>
       <groupId>org.apache.jackrabbit</groupId>
       <artifactId>jackrabbit-standalone-components</artifactId>
       <scope>test</scope>
     </dependency>
-
   </dependencies>
 
   <properties>
diff --git a/commons-vfs2/pom.xml b/commons-vfs2/pom.xml
index c7edd7094..5f588ceee 100644
--- a/commons-vfs2/pom.xml
+++ b/commons-vfs2/pom.xml
@@ -18,22 +18,18 @@
   -->
 
 <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
https://maven.apache.org/maven-v4_0_0.xsd";>
-
   <modelVersion>4.0.0</modelVersion>
-
   <name>Apache Commons VFS</name>
   <artifactId>commons-vfs2</artifactId>
   <packaging>jar</packaging>
   <description>Apache Commons VFS is a Virtual File System 
library.</description>
   <url>https://commons.apache.org/proper/commons-vfs/</url>
-
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-vfs2-project</artifactId>
     <version>2.10.0-SNAPSHOT</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
-
   <dependencies>
     <dependency>
       <groupId>commons-logging</groupId>
@@ -80,6 +76,11 @@
       <optional>true</optional>
     </dependency>
     <!-- Tests -->
+    <dependency>
+      <groupId>org.apache.logging.log4j</groupId>
+      <artifactId>log4j-slf4j2-impl</artifactId>
+      <scope>test</scope>
+    </dependency>
     <dependency>
       <groupId>org.junit.jupiter</groupId>
       <artifactId>junit-jupiter</artifactId>

Reply via email to