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 2023/09/19 16:30:30 UTC

[commons-imaging] branch master updated: Can't get suppressionsLocation to work for sub dir.

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


The following commit(s) were added to refs/heads/master by this push:
     new 0daf5847 Can't get suppressionsLocation to work for sub dir.
0daf5847 is described below

commit 0daf5847df8877589e26139d933259d1d615b29a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Sep 19 12:30:25 2023 -0400

    Can't get suppressionsLocation to work for sub dir.
---
 .../checkstyle-suppressions.xml => checkstyle-suppressions.xml |  0
 pom.xml                                                        | 10 ++++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/conf/checkstyle-suppressions.xml b/checkstyle-suppressions.xml
similarity index 100%
rename from src/conf/checkstyle-suppressions.xml
rename to checkstyle-suppressions.xml
diff --git a/pom.xml b/pom.xml
index 76c75d32..cf51118e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -152,10 +152,12 @@
         </configuration>
       </plugin>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
         <configuration>
-          <configLocation>${commons.conf.dir}/checkstyle.xml</configLocation>
-          <suppressionsLocation>src/conf/checkstyle-suppressions.xml</suppressionsLocation>
+          <configLocation>${basedir}/src/conf/checkstyle.xml</configLocation>
+          <!-- <suppressionsLocation>${basedir}/src/conf/checkstyle-suppressions.xml</suppressionsLocation> -->
+          <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
           <includeTestSourceDirectory>false</includeTestSourceDirectory>
           <enableRulesSummary>false</enableRulesSummary>
           <excludes>target/**</excludes>
@@ -249,8 +251,8 @@
       <plugin>
         <artifactId>maven-checkstyle-plugin</artifactId>
         <configuration>
-          <configLocation>${commons.conf.dir}/checkstyle.xml</configLocation>
-          <suppressionsLocation>src/conf/checkstyle-suppressions.xml</suppressionsLocation>
+          <!-- <suppressionsLocation>${basedir}/src/conf/checkstyle-suppressions.xml</suppressionsLocation> -->
+          <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
           <includeTestSourceDirectory>false</includeTestSourceDirectory>
           <enableRulesSummary>false</enableRulesSummary>
         </configuration>