You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by do...@apache.org on 2022/11/28 17:30:49 UTC

[accumulo-proxy] branch main updated: Add reload4j to ignoredUnusedDeclaredDependencies (#55)

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

domgarguilo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-proxy.git


The following commit(s) were added to refs/heads/main by this push:
     new 4d0d899  Add reload4j to ignoredUnusedDeclaredDependencies (#55)
4d0d899 is described below

commit 4d0d899e387fbf298b107a40207928f3afc9d716
Author: Dom G <do...@apache.org>
AuthorDate: Mon Nov 28 12:30:44 2022 -0500

    Add reload4j to ignoredUnusedDeclaredDependencies (#55)
    
    * Get maven-dependency-plugin checks passing
    * Remove old log4j12 from unusedDeclared
---
 pom.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 3db3dec..96c3318 100644
--- a/pom.xml
+++ b/pom.xml
@@ -445,12 +445,15 @@
             </goals>
             <configuration>
               <failOnWarning>true</failOnWarning>
+              <ignoredUsedUndeclaredDependencies>
+                <usedUndeclaredDependency>com.google.auto.service:auto-service-annotations:jar:*</usedUndeclaredDependency>
+              </ignoredUsedUndeclaredDependencies>
               <ignoredUnusedDeclaredDependencies>
                 <!-- auto-service isn't detected as use since the annotation has retention of source -->
                 <unusedDeclaredDependency>com.google.auto.service:auto-service:jar:*</unusedDeclaredDependency>
                 <!-- unused/declared implementation jars or parent jars that bring in children -->
                 <unusedDeclaredDependency>org.apache.hadoop:hadoop-client-runtime:jar:*</unusedDeclaredDependency>
-                <unusedDeclaredDependency>org.slf4j:slf4j-log4j12:jar:*</unusedDeclaredDependency>
+                <unusedDeclaredDependency>org.slf4j:slf4j-reload4j:jar:*</unusedDeclaredDependency>
               </ignoredUnusedDeclaredDependencies>
             </configuration>
           </execution>