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/07/17 12:43:21 UTC

[commons-codec] 02/04: Fix Site, RAT, and PMD; declutter the root folder

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

commit ff724b8e032e8d0d43dea121d02c0e80a70c4656
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jul 17 08:26:02 2022 -0400

    Fix Site, RAT, and PMD; declutter the root folder
---
 .gitattributes              | 15 +++++++++++++++
 pom.xml                     |  6 +++++-
 pmd.xml => src/conf/pmd.xml |  0
 3 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/.gitattributes b/.gitattributes
index 176a458f..bec231c1 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,16 @@
+#   Licensed to the Apache Software Foundation (ASF) under one or more
+#   contributor license agreements.  See the NOTICE file distributed with
+#   this work for additional information regarding copyright ownership.
+#   The ASF licenses this file to You under the Apache License, Version 2.0
+#   (the "License"); you may not use this file except in compliance with
+#   the License.  You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#   Unless required by applicable law or agreed to in writing, software
+#   distributed under the License is distributed on an "AS IS" BASIS,
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#   See the License for the specific language governing permissions and
+#   limitations under the License.
+
 * text=auto
diff --git a/pom.xml b/pom.xml
index abd7a118..7e268b88 100644
--- a/pom.xml
+++ b/pom.xml
@@ -283,6 +283,7 @@ limitations under the License.
     <commons.encoding>UTF-8</commons.encoding>
     <checkstyle.header.file>${basedir}/src/conf/checkstyle-header.txt</checkstyle.header.file>
     <checkstyle.config.file>${basedir}/src/conf/checkstyle.xml</checkstyle.config.file>
+    <commons.rat.version>0.14</commons.rat.version>
     <commons.checkstyle-plugin.version>3.1.2</commons.checkstyle-plugin.version>
     <commons.checkstyle.version>9.3</commons.checkstyle.version>
     <commons.japicmp.version>0.15.7</commons.japicmp.version>
@@ -291,6 +292,7 @@ limitations under the License.
     <commons.surefire-report.version>3.0.0-M7</commons.surefire-report.version>
     <commons.animal-sniffer.version>1.21</commons.animal-sniffer.version>
     <commons.pmd.version>3.17.0</commons.pmd.version>
+    <commons.pmd-impl.version>6.47.0</commons.pmd-impl.version>
     <japicmp.skip>false</japicmp.skip>
     <jacoco.skip>false</jacoco.skip>
     <clirr.skip>true</clirr.skip>
@@ -346,6 +348,7 @@ limitations under the License.
         <artifactId>apache-rat-plugin</artifactId>
         <configuration>
           <excludes>
+            <exclude>src/test/resources/org/apache/commons/codec/bla.tar</exclude>
             <exclude>src/test/resources/org/apache/commons/codec/bla.tar.xz</exclude>
             <exclude>src/test/resources/org/apache/commons/codec/empty.bin</exclude>
             <exclude>src/test/resources/org/apache/commons/codec/small.bin</exclude>
@@ -420,6 +423,7 @@ limitations under the License.
         <artifactId>apache-rat-plugin</artifactId>
         <configuration>
           <excludes>
+            <exclude>src/test/resources/org/apache/commons/codec/bla.tar</exclude>
             <exclude>src/test/resources/org/apache/commons/codec/bla.tar.xz</exclude>
             <exclude>src/test/resources/org/apache/commons/codec/empty.bin</exclude>
             <exclude>src/test/resources/org/apache/commons/codec/small.bin</exclude>
@@ -446,7 +450,7 @@ limitations under the License.
           <targetJdk>${maven.compiler.target}</targetJdk>
           <linkXref>true</linkXref>
           <rulesets>
-            <ruleset>${basedir}/pmd.xml</ruleset>
+            <ruleset>${basedir}/src/conf/pmd.xml</ruleset>
           </rulesets>
         </configuration>
       </plugin>
diff --git a/pmd.xml b/src/conf/pmd.xml
similarity index 100%
rename from pmd.xml
rename to src/conf/pmd.xml