You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/06/30 16:50:52 UTC

[commons-configuration] 04/04: PMD: Show errors in console output, especially for CI PR builds

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-configuration.git

commit 6cbd7720313bf8a8b36b2c90b5f909d2b8aeb2d0
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Jun 30 12:50:42 2022 -0400

    PMD: Show errors in console output, especially for CI PR builds
    
    Exclude generated sources
---
 pom.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/pom.xml b/pom.xml
index 1fed2b7d..16406096 100644
--- a/pom.xml
+++ b/pom.xml
@@ -805,6 +805,17 @@
           <excludeFilterFile>${basedir}/conf/findbugs-exclude-filter.xml</excludeFilterFile>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-pmd-plugin</artifactId>
+        <configuration>
+          <!-- Show errors in console output, especially for CI PR builds -->
+          <printFailingErrors>true</printFailingErrors>
+          <excludeRoots>
+            <excludeRoot>target/generated-sources/javacc</excludeRoot>
+          </excludeRoots>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
   <profiles>