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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1dd3b14  Move SLF4J logger to optional profile
1dd3b14 is described below

commit 1dd3b14376e7e5cbec7d54c11be8007628b23999
Author: Sebb <s...@apache.org>
AuthorDate: Sat Jul 31 00:44:36 2021 +0100

    Move SLF4J logger to optional profile
---
 pom.xml | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

diff --git a/pom.xml b/pom.xml
index c56e585..a901af4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -103,13 +103,6 @@ Supported protocols include: Echo, Finger, FTP, NNTP, NTP, 
POP3(S), SMTP(S), Tel
             <version>1.1.1</version>
             <scope>test</scope>
         </dependency>
-        <!-- temporary debug for FTPSClientTest -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-simple</artifactId>
-            <version>1.7.21</version>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>commons-io</groupId>
             <artifactId>commons-io</artifactId>
@@ -431,6 +424,21 @@ Supported protocols include: Echo, Finger, FTP, NNTP, NTP, 
POP3(S), SMTP(S), Tel
         </plugins>
     </reporting>
 
+    <profiles>
+        <profile>
+            <id>slf4j-simple</id>
+            <dependencies>
+                <!-- adds logging for MINA ftpserver as used by FTPSClientTest 
-->
+                <dependency>
+                    <groupId>org.slf4j</groupId>
+                    <artifactId>slf4j-simple</artifactId>
+                    <version>1.7.21</version>
+                    <scope>test</scope>
+                </dependency>
+            </dependencies>
+        </profile>
+    </profiles>
+
     <developers>
         <developer>
             <name>Jeffrey D. Brekke</name>

Reply via email to