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

[commons-statistics] 04/09: Move plugin configuration files to src/conf

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

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

commit 4a47881acd1838a677893ef7c1785cbec0fefe9f
Author: aherbert <ah...@apache.org>
AuthorDate: Thu Dec 1 11:41:18 2022 +0000

    Move plugin configuration files to src/conf
---
 pom.xml                                              | 20 ++++++++++----------
 .../checkstyle/checkstyle-suppressions.xml           |  0
 .../resources => conf}/checkstyle/checkstyle.xml     |  0
 .../resources => conf}/checkstyle/license-header.txt |  0
 src/{main/resources => conf}/pmd/pmd-ruleset.xml     |  0
 .../spotbugs/spotbugs-exclude-filter.xml             |  0
 6 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/pom.xml b/pom.xml
index f5d85e9..a7251b4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -234,9 +234,9 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
         <configuration>
-          <configLocation>${statistics.parent.dir}/src/main/resources/checkstyle/checkstyle.xml</configLocation>
-          <headerLocation>${statistics.parent.dir}/src/main/resources/checkstyle/license-header.txt</headerLocation>
-          <suppressionsLocation>${statistics.parent.dir}/src/main/resources/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
+          <configLocation>${statistics.parent.dir}/src/conf/checkstyle/checkstyle.xml</configLocation>
+          <headerLocation>${statistics.parent.dir}/src/conf/checkstyle/license-header.txt</headerLocation>
+          <suppressionsLocation>${statistics.parent.dir}/src/conf/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
           <enableRulesSummary>false</enableRulesSummary>
           <includeTestSourceDirectory>true</includeTestSourceDirectory>
           <!-- Output the detected violations to the console (for checkstyle:check). -->
@@ -260,7 +260,7 @@
         <configuration>
           <threshold>Normal</threshold>
           <effort>Default</effort>
-          <excludeFilterFile>${statistics.parent.dir}/src/main/resources/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile>
+          <excludeFilterFile>${statistics.parent.dir}/src/conf/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile>
         </configuration>
         <executions>
           <execution>
@@ -278,7 +278,7 @@
           <skipEmptyReport>false</skipEmptyReport>
           <analysisCache>true</analysisCache>
           <rulesets>
-            <ruleset>${statistics.parent.dir}/src/main/resources/pmd/pmd-ruleset.xml</ruleset>
+            <ruleset>${statistics.parent.dir}/src/conf/pmd/pmd-ruleset.xml</ruleset>
           </rulesets>
         </configuration>
         <executions>
@@ -388,9 +388,9 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
         <configuration>
-          <configLocation>${statistics.parent.dir}/src/main/resources/checkstyle/checkstyle.xml</configLocation>
-          <headerLocation>${statistics.parent.dir}/src/main/resources/checkstyle/license-header.txt</headerLocation>
-          <suppressionsLocation>${statistics.parent.dir}/src/main/resources/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
+          <configLocation>${statistics.parent.dir}/src/conf/checkstyle/checkstyle.xml</configLocation>
+          <headerLocation>${statistics.parent.dir}/src/conf/checkstyle/license-header.txt</headerLocation>
+          <suppressionsLocation>${statistics.parent.dir}/src/conf/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
           <enableRulesSummary>false</enableRulesSummary>
           <includeTestSourceDirectory>true</includeTestSourceDirectory>
           <logViolationsToConsole>false</logViolationsToConsole>
@@ -410,7 +410,7 @@
         <configuration>
           <threshold>Normal</threshold>
           <effort>Default</effort>
-          <excludeFilterFile>${statistics.parent.dir}/src/main/resources/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile>
+          <excludeFilterFile>${statistics.parent.dir}/src/conf/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile>
         </configuration>
       </plugin>
       <plugin>
@@ -420,7 +420,7 @@
           <skipEmptyReport>false</skipEmptyReport>
           <analysisCache>true</analysisCache>
           <rulesets>
-            <ruleset>${statistics.parent.dir}/src/main/resources/pmd/pmd-ruleset.xml</ruleset>
+            <ruleset>${statistics.parent.dir}/src/conf/pmd/pmd-ruleset.xml</ruleset>
           </rulesets>
         </configuration>
         <reportSets>
diff --git a/src/main/resources/checkstyle/checkstyle-suppressions.xml b/src/conf/checkstyle/checkstyle-suppressions.xml
similarity index 100%
rename from src/main/resources/checkstyle/checkstyle-suppressions.xml
rename to src/conf/checkstyle/checkstyle-suppressions.xml
diff --git a/src/main/resources/checkstyle/checkstyle.xml b/src/conf/checkstyle/checkstyle.xml
similarity index 100%
rename from src/main/resources/checkstyle/checkstyle.xml
rename to src/conf/checkstyle/checkstyle.xml
diff --git a/src/main/resources/checkstyle/license-header.txt b/src/conf/checkstyle/license-header.txt
similarity index 100%
rename from src/main/resources/checkstyle/license-header.txt
rename to src/conf/checkstyle/license-header.txt
diff --git a/src/main/resources/pmd/pmd-ruleset.xml b/src/conf/pmd/pmd-ruleset.xml
similarity index 100%
rename from src/main/resources/pmd/pmd-ruleset.xml
rename to src/conf/pmd/pmd-ruleset.xml
diff --git a/src/main/resources/spotbugs/spotbugs-exclude-filter.xml b/src/conf/spotbugs/spotbugs-exclude-filter.xml
similarity index 100%
rename from src/main/resources/spotbugs/spotbugs-exclude-filter.xml
rename to src/conf/spotbugs/spotbugs-exclude-filter.xml