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

mbuenger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-pmd-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 98fb2ba  Ignore false positives "unused" dependencies (#678)
98fb2ba is described below

commit 98fb2bafb27d0fcdc452a370b4f57b0b6d506960
Author: Matthias Bünger <[email protected]>
AuthorDate: Wed Dec 10 07:49:41 2025 +0100

    Ignore false positives "unused" dependencies (#678)
    
    closes #672
---
 pom.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/pom.xml b/pom.xml
index 33dd674..8d46934 100644
--- a/pom.xml
+++ b/pom.xml
@@ -313,6 +313,19 @@ under the License.
             
<suppressionsLocation>src/config/checkstyle-suppressions.xml</suppressionsLocation>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-dependency-plugin</artifactId>
+          <configuration>
+            <ignoredDependencies>
+              <!-- needed for AbstractPmdReportTestCase#generateReport  -->
+              
<ignoredDependency>org.apache.maven.resolver:maven-resolver-connector-basic:jar</ignoredDependency>
+              
<ignoredDependency>org.apache.maven.resolver:maven-resolver-transport-http:jar</ignoredDependency>
+              <!-- Runtime scope-->
+              <ignoredDependency>net.sourceforge.pmd:*:jar</ignoredDependency>
+            </ignoredDependencies>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>

Reply via email to