This is an automated email from the ASF dual-hosted git repository. asf-gitbox-commits pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-math.git
commit af34c6b4631a61724b72112aae0d9d48adeb0b77 Author: Alex Herbert <[email protected]> AuthorDate: Thu Oct 29 08:08:54 2026 +0000 Update apache rat excludes to inputExcudes --- commons-math-legacy/pom.xml | 42 +++++++++++----------- pom.xml | 88 +++++++++++++++++++++++++++------------------ 2 files changed, 75 insertions(+), 55 deletions(-) diff --git a/commons-math-legacy/pom.xml b/commons-math-legacy/pom.xml index c86b0a5a6..2b7e0ce36 100644 --- a/commons-math-legacy/pom.xml +++ b/commons-math-legacy/pom.xml @@ -215,32 +215,32 @@ Below should agree with config in <reporting> section, so the site gets consistent output. --> - <excludes combine.children="append"> - <exclude>dist-archive/**</exclude> - <exclude>**/site-content/**</exclude> + <inputExcludes combine.children="append"> + <inputExclude>dist-archive/**</inputExclude> + <inputExclude>**/site-content/**</inputExclude> <!-- MANIFEST files cannot have any comments, so we can't put license header --> - <exclude>src/test/maxima/special/RealFunctionValidation/MANIFEST.txt</exclude> + <inputExclude>src/test/maxima/special/RealFunctionValidation/MANIFEST.txt</inputExclude> <!-- the following are test data files with specific syntax that cannot include Apache header (and the contained data is public, it is not owned by Apache) --> - <exclude>src/test/resources/org/apache/commons/math4/legacy/distribution/testData.txt</exclude> - <exclude>src/test/resources/org/apache/commons/math4/legacy/random/emptyFile.txt</exclude> - <exclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/PiDigits.txt</exclude> - <exclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc3.txt</exclude> - <exclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/Lew.txt</exclude> - <exclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc2.txt</exclude> - <exclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc1.txt</exclude> - <exclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/Lottery.txt</exclude> - <exclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc4.txt</exclude> - <exclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/Michelso.txt</exclude> - <exclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/Mavro.txt</exclude> - <exclude>src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/Lanczos1.dat</exclude> - <exclude>src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/MGH17.dat</exclude> - <exclude>src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/Hahn1.dat</exclude> - <exclude>src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/Kirby2.dat</exclude> + <inputExclude>src/test/resources/org/apache/commons/math4/legacy/distribution/testData.txt</inputExclude> + <inputExclude>src/test/resources/org/apache/commons/math4/legacy/random/emptyFile.txt</inputExclude> + <inputExclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/PiDigits.txt</inputExclude> + <inputExclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc3.txt</inputExclude> + <inputExclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/Lew.txt</inputExclude> + <inputExclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc2.txt</inputExclude> + <inputExclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc1.txt</inputExclude> + <inputExclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/Lottery.txt</inputExclude> + <inputExclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc4.txt</inputExclude> + <inputExclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/Michelso.txt</inputExclude> + <inputExclude>src/test/resources/org/apache/commons/math4/legacy/stat/data/Mavro.txt</inputExclude> + <inputExclude>src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/Lanczos1.dat</inputExclude> + <inputExclude>src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/MGH17.dat</inputExclude> + <inputExclude>src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/Hahn1.dat</inputExclude> + <inputExclude>src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/Kirby2.dat</inputExclude> <!-- direction numbers for Sobol generation from Frances Y. Kuo and Stephen Joe, available under a BSD-style license (see LICENSE.txt) --> - <exclude>src/main/resources/assets/org/apache/commons/math4/legacy/random/new-joe-kuo-6.21201</exclude> - </excludes> + <inputExclude>src/main/resources/assets/org/apache/commons/math4/legacy/random/new-joe-kuo-6.21201</inputExclude> + </inputExcludes> </configuration> </plugin> </plugins> diff --git a/pom.xml b/pom.xml index e914275e9..8e0362382 100644 --- a/pom.xml +++ b/pom.xml @@ -323,42 +323,42 @@ <artifactId>apache-rat-plugin</artifactId> <!-- Note: commons-parent binds the check goal to the validate phase --> <configuration> - <!-- - Needed for command-line access, e.g mvn apache-rat:rat and mvn apache-rat:check - Below should agree with config in <reporting> section, so the site - gets consistent output. - --> - <excludes combine.children="append"> - <exclude>src/test/resources/data/**</exclude> - <exclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</exclude> - <exclude>dist-archive/**</exclude> - <exclude>**/site-content/**</exclude> + <!-- + Needed for command-line access, e.g mvn apache-rat:rat and mvn apache-rat:check + Below should agree with config in <reporting> section, so the site + gets consistent output. + --> + <inputExcludes combine.children="append"> + <inputExclude>src/test/resources/data/**</inputExclude> + <inputExclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</inputExclude> + <inputExclude>dist-archive/**</inputExclude> + <inputExclude>**/site-content/**</inputExclude> <!-- MANIFEST files cannot have any comments, so we can't put license header --> - <exclude>commons-math-legacy/src/test/maxima/special/RealFunctionValidation/MANIFEST.txt</exclude> + <inputExclude>commons-math-legacy/src/test/maxima/special/RealFunctionValidation/MANIFEST.txt</inputExclude> <!-- the following are test data files with specific syntax that cannot include Apache header (and the contained data is public, it is not owned by Apache) --> - <exclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/distribution/testData.txt</exclude> - <exclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/random/emptyFile.txt</exclude> - <exclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/PiDigits.txt</exclude> - <exclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc3.txt</exclude> - <exclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/Lew.txt</exclude> - <exclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc2.txt</exclude> - <exclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc1.txt</exclude> - <exclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/Lottery.txt</exclude> - <exclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc4.txt</exclude> - <exclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/Michelso.txt</exclude> - <exclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/Mavro.txt</exclude> - <exclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/Lanczos1.dat</exclude> - <exclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/MGH17.dat</exclude> - <exclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/Hahn1.dat</exclude> - <exclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/Kirby2.dat</exclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/distribution/testData.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/random/emptyFile.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/PiDigits.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc3.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/Lew.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc2.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc1.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/Lottery.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc4.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/Michelso.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/Mavro.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/Lanczos1.dat</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/MGH17.dat</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/Hahn1.dat</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/Kirby2.dat</inputExclude> <!-- direction numbers for Sobol generation from Frances Y. Kuo and Stephen Joe, available under a BSD-style license (see LICENSE.txt) --> - <exclude>commons-math-legacy/src/main/resources/assets/org/apache/commons/math4/legacy/random/new-joe-kuo-6.21201</exclude> - </excludes> + <inputExclude>commons-math-legacy/src/main/resources/assets/org/apache/commons/math4/legacy/random/new-joe-kuo-6.21201</inputExclude> + </inputExcludes> </configuration> </plugin> <plugin> @@ -404,12 +404,32 @@ <version>${commons.rat.version}</version> <configuration> <!-- Should agree with apache-rat-plugin config under <build> --> - <excludes combine.children="append"> - <exclude>src/test/resources/data/**</exclude> - <exclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</exclude> - <exclude>dist-archive/**</exclude> - <exclude>**/site-content/**</exclude> - </excludes> + <inputExcludes combine.children="append"> + <inputExclude>src/test/resources/data/**</inputExclude> + <inputExclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</inputExclude> + <inputExclude>dist-archive/**</inputExclude> + <inputExclude>**/site-content/**</inputExclude> + + <inputExclude>commons-math-legacy/src/test/maxima/special/RealFunctionValidation/MANIFEST.txt</inputExclude> + + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/distribution/testData.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/random/emptyFile.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/PiDigits.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc3.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/Lew.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc2.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc1.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/Lottery.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/NumAcc4.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/Michelso.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/stat/data/Mavro.txt</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/Lanczos1.dat</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/MGH17.dat</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/Hahn1.dat</inputExclude> + <inputExclude>commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/fitting/leastsquares/Kirby2.dat</inputExclude> + + <inputExclude>commons-math-legacy/src/main/resources/assets/org/apache/commons/math4/legacy/random/new-joe-kuo-6.21201</inputExclude> + </inputExcludes> </configuration> </plugin> <plugin>
