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


The following commit(s) were added to refs/heads/master by this push:
     new 8691a49  Ensure Apache RAT configuration is the same when run from the 
command line and for reports.
8691a49 is described below

commit 8691a49adbea97b3e17394cd306cf72ad08a9a43
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Jul 21 10:12:34 2021 -0400

    Ensure Apache RAT configuration is the same when run from the command
    line and for reports.
---
 pom.xml                        | 46 ++++++++++--------------
 src/site/xdoc/download_vfs.xml | 82 +++++++++++++++++++++---------------------
 2 files changed, 59 insertions(+), 69 deletions(-)

diff --git a/pom.xml b/pom.xml
index 60fdf3c..d18ce38 100644
--- a/pom.xml
+++ b/pom.xml
@@ -292,6 +292,24 @@
             <propertyExpansion>basedir=${basedir}</propertyExpansion>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <!-- Should agree with config in reporting section -->
+          <configuration>
+            <excludes combine.children="append">
+              <!--  trivial test data text files -->
+              <exclude>src/test/resources/test-data/**/*.bin</exclude>
+              <exclude>src/test/resources/test-data/**/*.txt</exclude>
+              <exclude>src/test/resources/test-data/**/*.tgz</exclude>
+              <exclude>src/test/resources/test-data/**/*.tbz2</exclude>
+              <exclude>src/test/resources/test-data/test.mf</exclude>
+              <!--  implicite exclude does not work if sandbox profile is not 
activated -->
+              <exclude>commons-vfs2-sandbox/**</exclude>
+              <exclude>dist/target/**</exclude>
+            </excludes>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
 
@@ -357,20 +375,6 @@
       <plugin>
         <groupId>org.apache.rat</groupId>
         <artifactId>apache-rat-plugin</artifactId>
-        <!-- Should agree with config in reporting section -->
-        <configuration>
-          <excludes combine.children="append">
-            <!--  trivial test data text files -->
-            <exclude>src/test/resources/test-data/**/*.bin</exclude>
-            <exclude>src/test/resources/test-data/**/*.txt</exclude>
-            <exclude>src/test/resources/test-data/**/*.tgz</exclude>
-            <exclude>src/test/resources/test-data/**/*.tbz2</exclude>
-            <exclude>src/test/resources/test-data/test.mf</exclude>
-            <!--  implicite exclude does not work if sandbox profile is not 
activated -->
-            <exclude>commons-vfs2-sandbox/**</exclude>
-            <exclude>dist/target/**</exclude>
-          </excludes>
-        </configuration>
       </plugin>
       <plugin>
         <groupId>com.github.siom79.japicmp</groupId>
@@ -409,20 +413,6 @@
       <plugin>
         <groupId>org.apache.rat</groupId>
         <artifactId>apache-rat-plugin</artifactId>
-        <version>${commons.rat.version}</version>
-        <!-- Should agree with config in build section -->
-        <configuration>
-          <excludes combine.children="append">
-            <!--  trivial test data text files -->
-            <exclude>src/test/resources/test-data/**/*.txt</exclude>
-            <exclude>src/test/resources/test-data/**/*.tgz</exclude>
-            <exclude>src/test/resources/test-data/**/*.tbz2</exclude>
-            <exclude>src/test/resources/test-data/test.mf</exclude>
-            <!--  implicit exclude does not work if sandbox profile is not 
activated -->
-            <exclude>commons-vfs2-sandbox/**</exclude>
-            <exclude>dist/target/**</exclude>
-          </excludes>
-        </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
diff --git a/src/site/xdoc/download_vfs.xml b/src/site/xdoc/download_vfs.xml
index cf6736b..f292bb1 100644
--- a/src/site/xdoc/download_vfs.xml
+++ b/src/site/xdoc/download_vfs.xml
@@ -113,44 +113,44 @@ limitations under the License.
       </p>
     </subsection>
     </section>
-    <section name="Apache Commons VFS Project 2.9.0 (requires Java 8)">
-      <subsection name="Binaries">
-        <table>
-          <tr>
-              <td><a 
href="[preferred]/commons/vfs/binaries/commons-vfs-2.9.0-bin.tar.gz">commons-vfs-2.9.0-bin.tar.gz</a></td>
-              <td><a 
href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.9.0-bin.tar.gz.sha512";>sha512</a></td>
-              <td><a 
href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.9.0-bin.tar.gz.asc";>pgp</a></td>
-          </tr>
-          <tr>
-              <td><a 
href="[preferred]/commons/vfs/binaries/commons-vfs-2.9.0-bin.zip">commons-vfs-2.9.0-bin.zip</a></td>
-              <td><a 
href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.9.0-bin.zip.sha512";>sha512</a></td>
-              <td><a 
href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.9.0-bin.zip.asc";>pgp</a></td>
-          </tr>
-        </table>
-      </subsection>
-      <subsection name="Source">
-        <table>
-          <tr>
-              <td><a 
href="[preferred]/commons/vfs/source/commons-vfs-2.9.0-src.tar.gz">commons-vfs-2.9.0-src.tar.gz</a></td>
-              <td><a 
href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.9.0-src.tar.gz.sha512";>sha512</a></td>
-              <td><a 
href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.9.0-src.tar.gz.asc";>pgp</a></td>
-          </tr>
-          <tr>
-              <td><a 
href="[preferred]/commons/vfs/source/commons-vfs-2.9.0-src.zip">commons-vfs-2.9.0-src.zip</a></td>
-              <td><a 
href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.9.0-src.zip.sha512";>sha512</a></td>
-              <td><a 
href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.9.0-src.zip.asc";>pgp</a></td>
-          </tr>
-        </table>
-      </subsection>
-    </section>
-    <section name="Archives">
-        <p>
-          Older releases can be obtained from the archives.
-        </p>
-        <ul>
-          <li class="download"><a href="[preferred]/commons/vfs/">browse 
download area</a></li>
-          <li><a 
href="https://archive.apache.org/dist/commons/vfs/";>archives...</a></li>
-        </ul>
-    </section>
-  </body>
-</document>
+    <section name="Apache Commons VFS Project 2.9.0 (requires Java 8)">
+      <subsection name="Binaries">
+        <table>
+          <tr>
+              <td><a 
href="[preferred]/commons/vfs/binaries/commons-vfs-2.9.0-bin.tar.gz">commons-vfs-2.9.0-bin.tar.gz</a></td>
+              <td><a 
href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.9.0-bin.tar.gz.sha512";>sha512</a></td>
+              <td><a 
href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.9.0-bin.tar.gz.asc";>pgp</a></td>
+          </tr>
+          <tr>
+              <td><a 
href="[preferred]/commons/vfs/binaries/commons-vfs-2.9.0-bin.zip">commons-vfs-2.9.0-bin.zip</a></td>
+              <td><a 
href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.9.0-bin.zip.sha512";>sha512</a></td>
+              <td><a 
href="https://www.apache.org/dist/commons/vfs/binaries/commons-vfs-2.9.0-bin.zip.asc";>pgp</a></td>
+          </tr>
+        </table>
+      </subsection>
+      <subsection name="Source">
+        <table>
+          <tr>
+              <td><a 
href="[preferred]/commons/vfs/source/commons-vfs-2.9.0-src.tar.gz">commons-vfs-2.9.0-src.tar.gz</a></td>
+              <td><a 
href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.9.0-src.tar.gz.sha512";>sha512</a></td>
+              <td><a 
href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.9.0-src.tar.gz.asc";>pgp</a></td>
+          </tr>
+          <tr>
+              <td><a 
href="[preferred]/commons/vfs/source/commons-vfs-2.9.0-src.zip">commons-vfs-2.9.0-src.zip</a></td>
+              <td><a 
href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.9.0-src.zip.sha512";>sha512</a></td>
+              <td><a 
href="https://www.apache.org/dist/commons/vfs/source/commons-vfs-2.9.0-src.zip.asc";>pgp</a></td>
+          </tr>
+        </table>
+      </subsection>
+    </section>
+    <section name="Archives">
+        <p>
+          Older releases can be obtained from the archives.
+        </p>
+        <ul>
+          <li class="download"><a href="[preferred]/commons/vfs/">browse 
download area</a></li>
+          <li><a 
href="https://archive.apache.org/dist/commons/vfs/";>archives...</a></li>
+        </ul>
+    </section>
+  </body>
+</document>

Reply via email to