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/10/11 12:07:07 UTC

[commons-numbers] branch master updated (7e88be93 -> 8b2bd19b)

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

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


    from 7e88be93 Don't persist credentials unnecessarily
     new ff88badf Update commons RNG 1.4 to 1.5
     new 3f16cd08 Update references to rng to numbers
     new e4687a3c Update to commons-parent 54
     new 45cccae7 Update PMD version to commons parent
     new ed65141d Drop junit 5.4.2 for 5.9.0 in commons parent
     new e790ce4e Drop checkstyle 3.1.2 for 3.2.0 in commons parent
     new 73eec505 Update checkstyle config using latest example
     new 7a671c47 Reorder properties to match commons RNG parent.
     new b22db497 Update changes report configuration to allow component reports
     new 817225c2 Update spotbugs 4.4.2 to CP 4.7.2.0
     new 5de3fa8d Update jacoco 0.8.7 to CP 0.8.8
     new 8b2bd19b Update japicmp 0.15.3 to CP 0.16.0

The 12 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 commons-numbers-angle/pom.xml                      |   1 +
 commons-numbers-arrays/pom.xml                     |   1 +
 commons-numbers-combinatorics/pom.xml              |   1 +
 commons-numbers-complex-streams/pom.xml            |   1 +
 commons-numbers-complex/pom.xml                    |   1 +
 commons-numbers-core/pom.xml                       |   1 +
 commons-numbers-examples/pom.xml                   |   1 +
 commons-numbers-field/pom.xml                      |   1 +
 commons-numbers-fraction/pom.xml                   |   1 +
 commons-numbers-gamma/pom.xml                      |   1 +
 commons-numbers-primes/pom.xml                     |   1 +
 commons-numbers-quaternion/pom.xml                 |   1 +
 commons-numbers-rootfinder/pom.xml                 |   1 +
 doc/release/copyLongTermJavadoc.sh                 |   2 +-
 pom.xml                                            | 110 ++++++---------------
 src/main/resources/checkstyle/checkstyle.xml       |  51 +++++-----
 src/main/resources/pmd/pmd-ruleset.xml             |  32 +++---
 .../resources/spotbugs/spotbugs-exclude-filter.xml |  13 +++
 18 files changed, 101 insertions(+), 120 deletions(-)


[commons-numbers] 11/12: Update jacoco 0.8.7 to CP 0.8.8

Posted by ah...@apache.org.
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-numbers.git

commit 5de3fa8d4117a4dff7d195e0f06d9f830b0a3c1c
Author: aherbert <ah...@apache.org>
AuthorDate: Tue Oct 11 13:00:51 2022 +0100

    Update jacoco 0.8.7 to CP 0.8.8
---
 pom.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index b291c7cd..4765e581 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,7 +77,6 @@
     <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
 
     <!-- Override commons parent 51 to allow build on JDK 17.  -->
-    <commons.jacoco.version>0.8.7</commons.jacoco.version>
     <commons.japicmp.version>0.15.3</commons.japicmp.version>
 
     <commons.site.path>numbers</commons.site.path>


[commons-numbers] 04/12: Update PMD version to commons parent

Posted by ah...@apache.org.
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-numbers.git

commit 45cccae7c33a414f2faf377bbb7592d00c195b41
Author: aherbert <ah...@apache.org>
AuthorDate: Tue Oct 11 12:37:48 2022 +0100

    Update PMD version to commons parent
    
    plugin 3.13.0 -> 3.19.0
    pmd-impl 6.21.0 -> 6.49.0
    
    Update pmd ruleset
---
 pom.xml                                | 16 ----------------
 src/main/resources/pmd/pmd-ruleset.xml | 30 +++++++++++++++---------------
 2 files changed, 15 insertions(+), 31 deletions(-)

diff --git a/pom.xml b/pom.xml
index ac36ce9c..4a955dea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,8 +58,6 @@
     <commons.encoding>UTF-8</commons.encoding>
     <maven.compiler.source>1.8</maven.compiler.source>
     <maven.compiler.target>1.8</maven.compiler.target>
-    <numbers.pmd.version>3.13.0</numbers.pmd.version>
-    <numbers.pmd.dep.version>6.21.0</numbers.pmd.dep.version>
     <numbers.checkstyle.version>3.1.2</numbers.checkstyle.version>
     <numbers.checkstyle.dep.version>8.45</numbers.checkstyle.dep.version>
     <numbers.mathjax.version>2.7.2</numbers.mathjax.version>
@@ -309,19 +307,6 @@
       </plugin>
       <plugin>
         <artifactId>maven-pmd-plugin</artifactId>
-        <version>${numbers.pmd.version}</version>
-        <dependencies>
-          <dependency>
-            <groupId>net.sourceforge.pmd</groupId>
-            <artifactId>pmd-core</artifactId>
-            <version>${numbers.pmd.dep.version}</version>
-          </dependency>
-          <dependency>
-            <groupId>net.sourceforge.pmd</groupId>
-            <artifactId>pmd-java</artifactId>
-            <version>${numbers.pmd.dep.version}</version>
-          </dependency>
-        </dependencies>
         <configuration>
           <printFailingErrors>true</printFailingErrors>
           <!-- TODO: remove this when PMD has been fixed. -->
@@ -480,7 +465,6 @@
       </plugin>
       <plugin>
         <artifactId>maven-pmd-plugin</artifactId>
-        <version>${numbers.pmd.version}</version>
         <configuration>
           <verbose>false</verbose>
           <printFailingErrors>true</printFailingErrors>
diff --git a/src/main/resources/pmd/pmd-ruleset.xml b/src/main/resources/pmd/pmd-ruleset.xml
index cf4acb64..abcc303a 100644
--- a/src/main/resources/pmd/pmd-ruleset.xml
+++ b/src/main/resources/pmd/pmd-ruleset.xml
@@ -72,7 +72,7 @@
       <!-- The ported method follows the original C++ usage of the 'invert' flag.
            Inversion of complementary functions may swap the arguments. -->
       <property name="violationSuppressXPath"
-        value="//ClassOrInterfaceDeclaration[@SimpleName='BoostErf'
+        value="./ancestor-or-self::ClassOrInterfaceDeclaration[@SimpleName='BoostErf'
                or @SimpleName='BoostGamma'
                or @SimpleName='BoostBeta']"/>
     </properties>
@@ -81,7 +81,7 @@
   <rule ref="category/java/codestyle.xml/ShortMethodName">
     <properties>
       <!-- TODO: Current regex effectively disables this rule. -->
-      <property name="violationSuppressXPath" value="//ClassOrInterfaceDeclaration[matches(@SimpleName, '^.*$')]"/>
+      <property name="violationSuppressXPath" value="./ancestor-or-self::ClassOrInterfaceDeclaration[matches(@SimpleName, '^.*$')]"/>
     </properties>
   </rule>
   <rule ref="category/java/codestyle.xml/ClassNamingConventions">
@@ -98,20 +98,20 @@
     <properties>
       <!-- Naming conventions preserved from the original Boost C++ code -->
       <property name="violationSuppressXPath"
-        value="//ClassOrInterfaceDeclaration[@SimpleName='BoostErf' or @SimpleName='BoostGamma']"/>
+        value="./ancestor-or-self::ClassOrInterfaceDeclaration[@SimpleName='BoostErf' or @SimpleName='BoostGamma']"/>
     </properties>
   </rule>
   <rule ref="category/java/codestyle.xml/ConfusingTernary">
     <properties>
       <!-- Use the original C++ code logic for identifying the erf domain. -->
-      <property name="violationSuppressXPath" value="//ClassOrInterfaceDeclaration[@SimpleName='BoostErf']"/>
+      <property name="violationSuppressXPath" value="./ancestor-or-self::ClassOrInterfaceDeclaration[@SimpleName='BoostErf']"/>
     </properties>
   </rule>
   <rule ref="category/java/codestyle.xml/PrematureDeclaration">
     <properties>
       <!-- False positive declaring the numerator a0. -->
       <property name="violationSuppressXPath"
-        value="//ClassOrInterfaceDeclaration[@SimpleName='BoostTools']"/>
+        value="./ancestor-or-self::ClassOrInterfaceDeclaration[@SimpleName='BoostTools']"/>
     </properties>
   </rule>
 
@@ -120,21 +120,21 @@
       <!-- Increase from default of 10 -->
       <property name="methodReportLevel" value="20"/>
       <property name="violationSuppressXPath"
-        value="//ClassOrInterfaceDeclaration[@SimpleName='BoostGamma'
+        value="./ancestor-or-self::ClassOrInterfaceDeclaration[@SimpleName='BoostGamma'
                or @SimpleName='BoostBeta']"/>
     </properties>
   </rule>
   <rule ref="category/java/design.xml/NPathComplexity">
     <properties>
       <property name="violationSuppressXPath"
-        value="//ClassOrInterfaceDeclaration[@SimpleName='BoostGamma'
+        value="./ancestor-or-self::ClassOrInterfaceDeclaration[@SimpleName='BoostGamma'
                or @SimpleName='BoostBeta']"/>
     </properties>
   </rule>
   <rule ref="category/java/design.xml/ExcessivePublicCount">
     <properties>
       <property name="violationSuppressXPath"
-        value="//ClassOrInterfaceDeclaration[@SimpleName='Complex'
+        value="./ancestor-or-self::ClassOrInterfaceDeclaration[@SimpleName='Complex'
                or @SimpleName='Fraction'
                or @SimpleName='BigFraction']"/>
     </properties>
@@ -142,7 +142,7 @@
   <rule ref="category/java/design.xml/ExcessiveClassLength">
     <properties>
       <property name="violationSuppressXPath"
-        value="//ClassOrInterfaceDeclaration[@SimpleName='Complex'
+        value="./ancestor-or-self::ClassOrInterfaceDeclaration[@SimpleName='Complex'
                or @SimpleName='Fraction'
                or @SimpleName='BigFraction'
                or @SimpleName='BoostGamma'
@@ -152,7 +152,7 @@
   <rule ref="category/java/design.xml/GodClass">
     <properties>
       <property name="violationSuppressXPath"
-        value="//ClassOrInterfaceDeclaration[@SimpleName='Fraction'
+        value="./ancestor-or-self::ClassOrInterfaceDeclaration[@SimpleName='Fraction'
                or @SimpleName='BigFraction'
                or @SimpleName='BoostGamma'
                or @SimpleName='BoostBeta']"/>
@@ -163,7 +163,7 @@
     <properties>
       <property name="ignoreMagicNumbers" value="-1,0,1" />
       <property name="violationSuppressXPath"
-        value="//ClassOrInterfaceDeclaration[@SimpleName='LogGamma'
+        value="./ancestor-or-self::ClassOrInterfaceDeclaration[@SimpleName='LogGamma'
                or @SimpleName='LogGammaSum'
                or @SimpleName='InverseErf'
                or @SimpleName='InvGamma1pm1'
@@ -179,7 +179,7 @@
   <rule ref="category/java/errorprone.xml/AvoidFieldNameMatchingMethodName">
     <properties>
       <property name="violationSuppressXPath"
-        value="//ClassOrInterfaceDeclaration[@SimpleName='Complex'
+        value="./ancestor-or-self::ClassOrInterfaceDeclaration[@SimpleName='Complex'
                or @SimpleName='Fraction'
                or @SimpleName='BigFraction']"/>
     </properties>
@@ -189,7 +189,7 @@
   <rule ref="category/java/design.xml/ExcessiveMethodLength">
     <properties>
       <property name="violationSuppressXPath"
-        value="//ClassOrInterfaceDeclaration[@SimpleName='Complex'
+        value="./ancestor-or-self::ClassOrInterfaceDeclaration[@SimpleName='Complex'
                or @SimpleName='BigFraction'
                or @SimpleName='Fraction'
                or @SimpleName='BoostErf'
@@ -204,13 +204,13 @@
   <rule ref="category/java/design.xml/AvoidThrowingNewInstanceOfSameException">
     <properties>
       <property name="violationSuppressXPath"
-        value="//ClassOrInterfaceDeclaration[@SimpleName='Complex']"/>
+        value="./ancestor-or-self::ClassOrInterfaceDeclaration[@SimpleName='Complex']"/>
     </properties>
   </rule>
   <rule ref="category/java/bestpractices.xml/PreserveStackTrace">
     <properties>
       <property name="violationSuppressXPath"
-        value="//ClassOrInterfaceDeclaration[@SimpleName='Complex']"/>
+        value="./ancestor-or-self::ClassOrInterfaceDeclaration[@SimpleName='Complex']"/>
     </properties>
   </rule>
 


[commons-numbers] 03/12: Update to commons-parent 54

Posted by ah...@apache.org.
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-numbers.git

commit e4687a3c5d02d2732a0f7b2fb07b0d8b5b93a7d3
Author: aherbert <ah...@apache.org>
AuthorDate: Tue Oct 11 12:34:40 2022 +0100

    Update to commons-parent 54
    
    Suppress spotbugs errors from intentional use of floating-point loop
    counters.
    
    Disable CycloneDX as config is incorrect for multi-module builds.
    
    Override ciManagement section from the parent.
    
    Set commons.release.isDistModule to false in the parent.
    
    Add rat exclusion for .gitattributes.
---
 pom.xml                                                 | 16 +++++++++++++++-
 src/main/resources/spotbugs/spotbugs-exclude-filter.xml | 13 +++++++++++++
 2 files changed, 28 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 06e28979..ac36ce9c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-parent</artifactId>
-    <version>52</version>
+    <version>54</version>
   </parent>
 
   <artifactId>commons-numbers-parent</artifactId>
@@ -44,6 +44,8 @@
     <commons.osgi.symbolicName>org.apache.commons.numbers</commons.osgi.symbolicName>
     <!-- OSGi -->
     <commons.osgi.export>org.apache.commons.numbers</commons.osgi.export>
+    <!-- This flag should only be true in the dist-archive module. -->
+    <commons.release.isDistModule>false</commons.release.isDistModule>
     <!-- do not use snapshot suffix here -->
     <commons.release.version>1.0</commons.release.version>
     <commons.bc.version>${commons.release.version}</commons.bc.version>
@@ -67,6 +69,8 @@
     <numbers.antrun.version>1.8</numbers.antrun.version>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}</numbers.parent.dir>
+    <!-- Multi-module support fixed in commons-parent 55 -->
+    <cyclonedx.skip>true</cyclonedx.skip>
 
     <!-- Increase from commons-parent -->
     <commons.jacoco.methodRatio>1.00</commons.jacoco.methodRatio>
@@ -125,11 +129,17 @@
     <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-numbers.git</developerConnection>
     <url>https://gitbox.apache.org/repos/asf/commons-numbers.git</url>
   </scm>
+
   <issueManagement>
     <system>jira</system>
     <url>https://issues.apache.org/jira/browse/NUMBERS</url>
   </issueManagement>
 
+  <ciManagement>
+    <system>GitHub</system>
+    <url>https://github.com/apache/commons-numbers/actions</url>
+  </ciManagement>
+
   <distributionManagement>
     <site>
       <id>apache.website</id>
@@ -349,6 +359,8 @@
             <exclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</exclude>
             <exclude>dist-archive/**</exclude>
             <exclude>**/site-content/**</exclude>
+            <!-- Moved to commons-parent 55 -->
+            <exclude>.gitattributes</exclude>
           </excludes>
         </configuration>
       </plugin>
@@ -403,6 +415,8 @@
             <exclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</exclude>
             <exclude>dist-archive/**</exclude>
             <exclude>**/site-content/**</exclude>
+            <!-- Moved to commons-parent 55 -->
+            <exclude>.gitattributes</exclude>
           </excludes>
         </configuration>
       </plugin>
diff --git a/src/main/resources/spotbugs/spotbugs-exclude-filter.xml b/src/main/resources/spotbugs/spotbugs-exclude-filter.xml
index 7a34ed98..a1ca3722 100644
--- a/src/main/resources/spotbugs/spotbugs-exclude-filter.xml
+++ b/src/main/resources/spotbugs/spotbugs-exclude-filter.xml
@@ -63,4 +63,17 @@
     <BugPattern name="MS_EXPOSE_REP"/>
   </Match>
 
+  <!-- Use of floating-point loop counters is intentional. -->
+  <Match>
+    <Or>
+      <Class name="org.apache.commons.numbers.gamma.BoostGamma"/>
+      <Class name="org.apache.commons.numbers.gamma.Digamma"/>
+      <Class name="org.apache.commons.numbers.gamma.LogBeta"/>
+      <Class name="org.apache.commons.numbers.gamma.SpecialMath"/>
+      <Class name="org.apache.commons.numbers.gamma.Trigamma"/>
+      <Class name="org.apache.commons.numbers.rootfinder.BrentSolver"/>
+    </Or>
+    <BugPattern name="FL_FLOATS_AS_LOOP_COUNTERS"/>
+  </Match>
+
 </FindBugsFilter>


[commons-numbers] 02/12: Update references to rng to numbers

Posted by ah...@apache.org.
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-numbers.git

commit 3f16cd088726de7162b2942605c38a1c85329939
Author: aherbert <ah...@apache.org>
AuthorDate: Tue Oct 11 12:22:43 2022 +0100

    Update references to rng to numbers
---
 doc/release/copyLongTermJavadoc.sh     | 2 +-
 src/main/resources/pmd/pmd-ruleset.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/release/copyLongTermJavadoc.sh b/doc/release/copyLongTermJavadoc.sh
index 4583a5a0..b636331c 100755
--- a/doc/release/copyLongTermJavadoc.sh
+++ b/doc/release/copyLongTermJavadoc.sh
@@ -18,7 +18,7 @@
 set -e
 
 # List of all modules paths for which the long-term Javadoc links must be copied
-# We keep only the official distribution (i.e. _not_ "commons-rng-examples").
+# We keep only the official distribution (i.e. _not_ "commons-numbers-examples").
 MODULES=(commons-numbers-angle \
              commons-numbers-arrays \
              commons-numbers-combinatorics \
diff --git a/src/main/resources/pmd/pmd-ruleset.xml b/src/main/resources/pmd/pmd-ruleset.xml
index e338a1be..cf4acb64 100644
--- a/src/main/resources/pmd/pmd-ruleset.xml
+++ b/src/main/resources/pmd/pmd-ruleset.xml
@@ -15,7 +15,7 @@
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
-<ruleset name="commons-rng-customized"
+<ruleset name="commons-numbers-customized"
     xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">


[commons-numbers] 09/12: Update changes report configuration to allow component reports

Posted by ah...@apache.org.
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-numbers.git

commit b22db497840e37d3e8599604ba41016b7070edb6
Author: aherbert <ah...@apache.org>
AuthorDate: Tue Oct 11 12:57:37 2022 +0100

    Update changes report configuration to allow component reports
    
    Remove configuration that is a duplicate of commons-parent
---
 commons-numbers-angle/pom.xml           |  1 +
 commons-numbers-arrays/pom.xml          |  1 +
 commons-numbers-combinatorics/pom.xml   |  1 +
 commons-numbers-complex-streams/pom.xml |  1 +
 commons-numbers-complex/pom.xml         |  1 +
 commons-numbers-core/pom.xml            |  1 +
 commons-numbers-examples/pom.xml        |  1 +
 commons-numbers-field/pom.xml           |  1 +
 commons-numbers-fraction/pom.xml        |  1 +
 commons-numbers-gamma/pom.xml           |  1 +
 commons-numbers-primes/pom.xml          |  1 +
 commons-numbers-quaternion/pom.xml      |  1 +
 commons-numbers-rootfinder/pom.xml      |  1 +
 pom.xml                                 | 13 ++++---------
 14 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/commons-numbers-angle/pom.xml b/commons-numbers-angle/pom.xml
index 615c62be..caebc1e8 100644
--- a/commons-numbers-angle/pom.xml
+++ b/commons-numbers-angle/pom.xml
@@ -38,6 +38,7 @@
     <commons.osgi.export>org.apache.commons.numbers.angle</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <numbers.jira.component>angle</numbers.jira.component>
   </properties>
 
   <dependencies>
diff --git a/commons-numbers-arrays/pom.xml b/commons-numbers-arrays/pom.xml
index 009cecb5..3a7ceb8b 100644
--- a/commons-numbers-arrays/pom.xml
+++ b/commons-numbers-arrays/pom.xml
@@ -38,6 +38,7 @@
     <commons.osgi.export>org.apache.commons.numbers.arrays</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <numbers.jira.component>arrays</numbers.jira.component>
   </properties>
 
   <dependencies>
diff --git a/commons-numbers-combinatorics/pom.xml b/commons-numbers-combinatorics/pom.xml
index db47b4c0..4eb8bfa4 100644
--- a/commons-numbers-combinatorics/pom.xml
+++ b/commons-numbers-combinatorics/pom.xml
@@ -38,6 +38,7 @@
     <commons.osgi.export>org.apache.commons.numbers.combinatorics</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <numbers.jira.component>combinatorics</numbers.jira.component>
   </properties>
 
   <dependencies>
diff --git a/commons-numbers-complex-streams/pom.xml b/commons-numbers-complex-streams/pom.xml
index eb522f4b..994797ae 100644
--- a/commons-numbers-complex-streams/pom.xml
+++ b/commons-numbers-complex-streams/pom.xml
@@ -40,6 +40,7 @@
     <commons.osgi.export>org.apache.commons.numbers.complex.streams</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <numbers.jira.component>complex-streams</numbers.jira.component>
   </properties>
 
   <dependencies>
diff --git a/commons-numbers-complex/pom.xml b/commons-numbers-complex/pom.xml
index ff566b24..dcc7c230 100644
--- a/commons-numbers-complex/pom.xml
+++ b/commons-numbers-complex/pom.xml
@@ -38,6 +38,7 @@
     <commons.osgi.export>org.apache.commons.numbers.complex</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <numbers.jira.component>complex</numbers.jira.component>
   </properties>
 
   <dependencies>
diff --git a/commons-numbers-core/pom.xml b/commons-numbers-core/pom.xml
index 3684fd95..488f8715 100644
--- a/commons-numbers-core/pom.xml
+++ b/commons-numbers-core/pom.xml
@@ -38,6 +38,7 @@
     <commons.osgi.export>org.apache.commons.numbers.core</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <numbers.jira.component>core</numbers.jira.component>
   </properties>
 
   <dependencies>
diff --git a/commons-numbers-examples/pom.xml b/commons-numbers-examples/pom.xml
index 806efd91..ba0a6129 100644
--- a/commons-numbers-examples/pom.xml
+++ b/commons-numbers-examples/pom.xml
@@ -41,6 +41,7 @@
     <commons.automatic.module.name>org.apache.commons.numbers.examples</commons.automatic.module.name>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <numbers.jira.component>examples</numbers.jira.component>
 
     <!-- Disable JApiCmp failures (but keep the report). The examples API is allowed to change. -->
     <commons.japicmp.breakBuildOnBinaryIncompatibleModifications>false</commons.japicmp.breakBuildOnBinaryIncompatibleModifications>
diff --git a/commons-numbers-field/pom.xml b/commons-numbers-field/pom.xml
index 889cfdd0..d3c20a0d 100644
--- a/commons-numbers-field/pom.xml
+++ b/commons-numbers-field/pom.xml
@@ -38,6 +38,7 @@
     <commons.osgi.export>org.apache.commons.numbers.field</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <numbers.jira.component>field</numbers.jira.component>
   </properties>
 
   <dependencies>
diff --git a/commons-numbers-fraction/pom.xml b/commons-numbers-fraction/pom.xml
index 3e0970b9..732b2cb2 100644
--- a/commons-numbers-fraction/pom.xml
+++ b/commons-numbers-fraction/pom.xml
@@ -38,6 +38,7 @@
     <commons.osgi.export>org.apache.commons.numbers.fraction</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <numbers.jira.component>fraction</numbers.jira.component>
   </properties>
 
   <dependencies>
diff --git a/commons-numbers-gamma/pom.xml b/commons-numbers-gamma/pom.xml
index 872901b6..d02769d1 100644
--- a/commons-numbers-gamma/pom.xml
+++ b/commons-numbers-gamma/pom.xml
@@ -38,6 +38,7 @@
     <commons.osgi.export>org.apache.commons.numbers.gamma</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <numbers.jira.component>gamma</numbers.jira.component>
   </properties>
 
   <dependencies>
diff --git a/commons-numbers-primes/pom.xml b/commons-numbers-primes/pom.xml
index d90db9ae..d617bc21 100644
--- a/commons-numbers-primes/pom.xml
+++ b/commons-numbers-primes/pom.xml
@@ -38,6 +38,7 @@
     <commons.osgi.export>org.apache.commons.numbers.primes</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <numbers.jira.component>primes</numbers.jira.component>
   </properties>
 
 </project>
diff --git a/commons-numbers-quaternion/pom.xml b/commons-numbers-quaternion/pom.xml
index bf7f6148..c9167a60 100644
--- a/commons-numbers-quaternion/pom.xml
+++ b/commons-numbers-quaternion/pom.xml
@@ -38,6 +38,7 @@
     <commons.osgi.export>org.apache.commons.numbers.quaternion</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <numbers.jira.component>quaternion</numbers.jira.component>
   </properties>
 
   <dependencies>
diff --git a/commons-numbers-rootfinder/pom.xml b/commons-numbers-rootfinder/pom.xml
index f7978188..c507f572 100644
--- a/commons-numbers-rootfinder/pom.xml
+++ b/commons-numbers-rootfinder/pom.xml
@@ -38,6 +38,7 @@
     <commons.osgi.export>org.apache.commons.numbers.rootfinder</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}/..</numbers.parent.dir>
+    <numbers.jira.component>rootfinder</numbers.jira.component>
   </properties>
 
 </project>
diff --git a/pom.xml b/pom.xml
index a63bcd4f..b8b960d4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -104,6 +104,9 @@
     <!-- Workaround to avoid the SVN site checkout in all modules.
          This flag should be deactivated by child modules. -->
     <perform.site.checkout>true</perform.site.checkout>
+
+    <!-- Set by modules to create a custom jira report -->
+    <numbers.jira.component />
   </properties>
 
   <modules>
@@ -383,19 +386,11 @@
         <artifactId>maven-changes-plugin</artifactId>
         <version>${commons.changes.version}</version>
         <configuration>
-          <xmlPath>${basedir}/src/changes/changes.xml</xmlPath>
-          <columnNames>Fix Version,Key,Component,Summary,Type,Resolution,Status</columnNames>
-          <!-- Sort cols in natural order when using JQL for JIRA 5.1 -->
-          <sortColumnNames>Fix Version DESC,Type,Key DESC</sortColumnNames>
           <resolutionIds>Fixed,Implemented</resolutionIds>
           <statusIds>Resolved,Closed</statusIds>
           <!-- Don't include sub-task -->
           <typeIds>Bug,New Feature,Task,Improvement,Wish,Test</typeIds>
-          <!-- For JIRA >= 5.1 -->
-          <useJql>true</useJql>
-          <onlyCurrentVersion>${commons.changes.onlyCurrentVersion}</onlyCurrentVersion>
-          <maxEntries>${commons.changes.maxEntries}</maxEntries>
-          <runOnlyAtExecutionRoot>${commons.changes.runOnlyAtExecutionRoot}</runOnlyAtExecutionRoot>
+          <component>${numbers.jira.component}</component>
         </configuration>
         <reportSets>
           <reportSet>


[commons-numbers] 05/12: Drop junit 5.4.2 for 5.9.0 in commons parent

Posted by ah...@apache.org.
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-numbers.git

commit ed65141deab815ba39109d65e0927addbe064cb8
Author: aherbert <ah...@apache.org>
AuthorDate: Tue Oct 11 12:39:09 2022 +0100

    Drop junit 5.4.2 for 5.9.0 in commons parent
---
 pom.xml | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/pom.xml b/pom.xml
index 4a955dea..17456fcf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,7 +61,6 @@
     <numbers.checkstyle.version>3.1.2</numbers.checkstyle.version>
     <numbers.checkstyle.dep.version>8.45</numbers.checkstyle.dep.version>
     <numbers.mathjax.version>2.7.2</numbers.mathjax.version>
-    <numbers.junit.bom.version>5.4.2</numbers.junit.bom.version>
     <numbers.commons.math3.version>3.6.1</numbers.commons.math3.version>
     <numbers.commons.rng.version>1.5</numbers.commons.rng.version>
     <numbers.antrun.version>1.8</numbers.antrun.version>
@@ -185,13 +184,6 @@
         <artifactId>commons-math3</artifactId>
         <version>${numbers.commons.math3.version}</version>
       </dependency>
-      <dependency>
-        <groupId>org.junit</groupId>
-        <artifactId>junit-bom</artifactId>
-        <version>${numbers.junit.bom.version}</version>
-        <scope>import</scope>
-        <type>pom</type>
-      </dependency>
       <dependency>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-rng-bom</artifactId>


[commons-numbers] 07/12: Update checkstyle config using latest example

Posted by ah...@apache.org.
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-numbers.git

commit 73eec505b27f82403111140799b7f04c5296416f
Author: aherbert <ah...@apache.org>
AuthorDate: Tue Oct 11 12:46:34 2022 +0100

    Update checkstyle config using latest example
    
    Updated from:
    https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml
---
 src/main/resources/checkstyle/checkstyle.xml | 51 ++++++++++++++--------------
 1 file changed, 26 insertions(+), 25 deletions(-)

diff --git a/src/main/resources/checkstyle/checkstyle.xml b/src/main/resources/checkstyle/checkstyle.xml
index a456a821..4107e0d9 100644
--- a/src/main/resources/checkstyle/checkstyle.xml
+++ b/src/main/resources/checkstyle/checkstyle.xml
@@ -26,6 +26,15 @@
   https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml
 -->
 <module name="Checker">
+  <property name="fileExtensions" value="java, properties, xml" />
+
+  <!-- Excludes all 'module-info.java' files              -->
+  <!-- See https://checkstyle.org/config_filefilters.html -->
+  <module name="BeforeExecutionExclusionFileFilter">
+    <property name="fileNamePattern" value="module\-info\.java$"/>
+  </module>
+
+  <!-- https://checkstyle.org/config_filters.html#SuppressionFilter -->
   <module name="SuppressionFilter">
     <!-- Default property set by maven-checkstyle-plugin -->
     <property name="file" value="${checkstyle.suppressions.file}"/>
@@ -34,28 +43,20 @@
 
   <property name="localeLanguage" value="en"/>
 
-  <property name="fileExtensions" value="java, properties, xml" />
-
-  <!-- Excludes all 'module-info.java' files -->
-  <!-- See https://checkstyle.org/config_filefilters.html -->
-  <module name="BeforeExecutionExclusionFileFilter">
-    <property name="fileNamePattern" value="module\-info\.java$" />
-  </module>
-
   <!-- Checks that a package-info.java file exists for each package. -->
-  <!-- See http://checkstyle.sourceforge.net/config_javadoc.html#JavadocPackage -->
+  <!-- See https://checkstyle.org/config_javadoc.html#JavadocPackage -->
   <module name="JavadocPackage" />
 
   <!-- Checks whether files end with a new line. -->
-  <!-- See http://checkstyle.sourceforge.net/config_misc.html#NewlineAtEndOfFile -->
+  <!-- See https://checkstyle.org/config_misc.html#NewlineAtEndOfFile -->
   <module name="NewlineAtEndOfFile" />
 
   <!-- Checks that property files contain the same keys. -->
-  <!-- See http://checkstyle.sourceforge.net/config_misc.html#Translation -->
+  <!-- See https://checkstyle.org/config_misc.html#Translation -->
   <module name="Translation" />
 
   <!-- Checks for Size Violations. -->
-  <!-- See http://checkstyle.sourceforge.net/config_sizes.html -->
+  <!-- See https://checkstyle.org/config_sizes.html -->
   <module name="FileLength" />
   <module name="LineLength">
     <property name="fileExtensions" value="java"/>
@@ -65,11 +66,11 @@
   </module>
 
   <!-- Checks for whitespace -->
-  <!-- See http://checkstyle.sourceforge.net/config_whitespace.html -->
+  <!-- See http://checkstyle.org/config_whitespace.html -->
   <module name="FileTabCharacter" />
 
   <!-- Miscellaneous other checks. -->
-  <!-- See http://checkstyle.sourceforge.net/config_misc.html -->
+  <!-- See http://checkstyle.org/config_misc.html -->
   <module name="RegexpSingleline">
     <property name="format" value="\s+$" />
     <property name="minimum" value="0" />
@@ -78,7 +79,7 @@
   </module>
 
   <!-- Checks for Headers -->
-  <!-- See http://checkstyle.sourceforge.net/config_header.html -->
+  <!-- See http://checkstyle.org/config_header.html -->
   <module name="Header">
     <property name="headerFile" value="${checkstyle.header.file}"/>
   </module>
@@ -86,7 +87,7 @@
   <module name="TreeWalker">
 
     <!-- Checks for Javadoc comments. -->
-    <!-- See http://checkstyle.sourceforge.net/config_javadoc.html -->
+    <!-- See http://checkstyle.org/config_javadoc.html -->
     <module name="InvalidJavadocPosition"/>
     <module name="JavadocMethod" />
     <module name="JavadocType" />
@@ -101,7 +102,7 @@
     </module>
 
     <!-- Checks for Naming Conventions. -->
-    <!-- See http://checkstyle.sourceforge.net/config_naming.html -->
+    <!-- See http://checkstyle.org/config_naming.html -->
     <module name="ConstantName" />
     <module name="LocalFinalVariableName" />
     <module name="LocalVariableName" />
@@ -113,7 +114,7 @@
     <module name="TypeName" />
 
     <!-- Checks for imports -->
-    <!-- See http://checkstyle.sourceforge.net/config_import.html -->
+    <!-- See http://checkstyle.org/config_import.html -->
     <module name="AvoidStarImport" />
     <module name="IllegalImport" /> <!-- defaults to sun.* packages -->
     <module name="RedundantImport" />
@@ -122,12 +123,12 @@
     </module>
 
     <!-- Checks for Size Violations. -->
-    <!-- See http://checkstyle.sourceforge.net/config_sizes.html -->
+    <!-- See http://checkstyle.org/config_sizes.html -->
     <module name="MethodLength" />
     <module name="ParameterNumber" />
 
     <!-- Checks for whitespace -->
-    <!-- See http://checkstyle.sourceforge.net/config_whitespace.html -->
+    <!-- See http://checkstyle.org/config_whitespace.html -->
     <module name="EmptyForIteratorPad" />
     <module name="GenericWhitespace" />
     <module name="MethodParamPad" />
@@ -148,12 +149,12 @@
     </module>
 
     <!-- Modifier Checks -->
-    <!-- See http://checkstyle.sourceforge.net/config_modifiers.html -->
+    <!-- See http://checkstyle.org/config_modifiers.html -->
     <module name="ModifierOrder" />
     <module name="RedundantModifier" />
 
     <!-- Checks for blocks. You know, those {}'s -->
-    <!-- See http://checkstyle.sourceforge.net/config_blocks.html -->
+    <!-- See http://checkstyle.org/config_blocks.html -->
     <module name="AvoidNestedBlocks" />
     <module name="EmptyBlock" />
     <module name="LeftCurly" />
@@ -161,7 +162,7 @@
     <module name="RightCurly" />
 
     <!-- Checks for common coding problems -->
-    <!-- See http://checkstyle.sourceforge.net/config_coding.html -->
+    <!-- See http://checkstyle.org/config_coding.html -->
     <module name="EmptyStatement" />
     <module name="EqualsHashCode" />
     <!-- Method parameters and local variables should not hide fields, except in constructors and setters -->
@@ -182,7 +183,7 @@
     <module name="SimplifyBooleanReturn" />
 
     <!-- Checks for class design -->
-    <!-- See http://checkstyle.sourceforge.net/config_design.html -->
+    <!-- See http://checkstyle.org/config_design.html -->
     <module name="DesignForExtension" />
     <module name="FinalClass" />
     <module name="HideUtilityClassConstructor" />
@@ -193,7 +194,7 @@
     </module>
 
     <!-- Miscellaneous other checks. -->
-    <!-- See http://checkstyle.sourceforge.net/config_misc.html -->
+    <!-- See http://checkstyle.org/config_misc.html -->
     <module name="ArrayTypeStyle" />
     <!-- <module name="FinalParameters" />  -->
     <module name="TodoComment">


[commons-numbers] 08/12: Reorder properties to match commons RNG parent.

Posted by ah...@apache.org.
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-numbers.git

commit 7a671c475347111bc2df7b0a0188e31879fe1a61
Author: aherbert <ah...@apache.org>
AuthorDate: Tue Oct 11 12:51:10 2022 +0100

    Reorder properties to match commons RNG parent.
---
 pom.xml | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/pom.xml b/pom.xml
index cae140f6..a63bcd4f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,8 +49,8 @@
     <!-- do not use snapshot suffix here -->
     <commons.release.version>1.0</commons.release.version>
     <commons.bc.version>${commons.release.version}</commons.bc.version>
-    <commons.release.desc>(requires Java 8+)</commons.release.desc>
     <commons.rc.version>RC1</commons.rc.version>
+    <commons.release.desc>(requires Java 8+)</commons.release.desc>
     <commons.binary.suffix>-bin</commons.binary.suffix>
 
     <commons.jira.id>NUMBERS</commons.jira.id>
@@ -67,15 +67,15 @@
     <!-- Multi-module support fixed in commons-parent 55 -->
     <cyclonedx.skip>true</cyclonedx.skip>
 
-    <!-- Increase from commons-parent -->
-    <commons.jacoco.methodRatio>1.00</commons.jacoco.methodRatio>
-    <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
-
     <!-- Fix to avoid JXR 3.0.0 forking the lifecycle phase 'compile' during site report
        jxr:aggregate. If compile is forked, the dist-archive build fails when attempting
        to collect the artifacts from other modules. -->
     <commons.jxr.version>2.5</commons.jxr.version>
 
+    <!-- Increase from commons-parent -->
+    <commons.jacoco.methodRatio>1.00</commons.jacoco.methodRatio>
+    <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
+
     <!-- Override commons parent 51 to allow build on JDK 17.  -->
     <commons.spotbugs.version>4.4.2</commons.spotbugs.version>
     <commons.jacoco.version>0.8.7</commons.jacoco.version>
@@ -90,10 +90,6 @@
     <numbers.jgit.buildnumber.version>1.2.10</numbers.jgit.buildnumber.version>
     <implementation.build>${git.revision}; ${maven.build.timestamp}</implementation.build>
 
-    <!-- Workaround to avoid the SVN site checkout in all modules.
-         This flag should be deactivated by child modules. -->
-    <perform.site.checkout>true</perform.site.checkout>
-
     <!--
         Override so that "mvn commons:download-page" will generates a web page
         referring to the files created by the "dist-archive" module.
@@ -102,7 +98,12 @@
     <commons.release.name>commons-numbers-${project.version}</commons.release.name>
     <!-- Java8+ requires additional Javadoc qualifier for scripts such as MathJax -->
     <allowscript.javadoc.qualifier>--allow-script-in-comments</allowscript.javadoc.qualifier>
+    <!-- Check for all javadoc errors -->
     <doclint.javadoc.qualifier>-Xdoclint:all</doclint.javadoc.qualifier>
+
+    <!-- Workaround to avoid the SVN site checkout in all modules.
+         This flag should be deactivated by child modules. -->
+    <perform.site.checkout>true</perform.site.checkout>
   </properties>
 
   <modules>


[commons-numbers] 10/12: Update spotbugs 4.4.2 to CP 4.7.2.0

Posted by ah...@apache.org.
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-numbers.git

commit 817225c27e24ced1864494c537caab71a2e05417
Author: aherbert <ah...@apache.org>
AuthorDate: Tue Oct 11 12:59:51 2022 +0100

    Update spotbugs 4.4.2 to CP 4.7.2.0
---
 pom.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index b8b960d4..b291c7cd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,7 +77,6 @@
     <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
 
     <!-- Override commons parent 51 to allow build on JDK 17.  -->
-    <commons.spotbugs.version>4.4.2</commons.spotbugs.version>
     <commons.jacoco.version>0.8.7</commons.jacoco.version>
     <commons.japicmp.version>0.15.3</commons.japicmp.version>
 
@@ -276,7 +275,6 @@
       <plugin>
         <groupId>com.github.spotbugs</groupId>
         <artifactId>spotbugs-maven-plugin</artifactId>
-        <version>${commons.spotbugs.version}</version>
         <configuration>
           <threshold>Normal</threshold>
           <effort>Default</effort>
@@ -422,7 +420,6 @@
       <plugin>
         <groupId>com.github.spotbugs</groupId>
         <artifactId>spotbugs-maven-plugin</artifactId>
-        <version>${commons.spotbugs.version}</version>
         <configuration>
           <threshold>Normal</threshold>
           <effort>Default</effort>


[commons-numbers] 06/12: Drop checkstyle 3.1.2 for 3.2.0 in commons parent

Posted by ah...@apache.org.
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-numbers.git

commit e790ce4e67b2f1716b910c17b26f066f63d8572f
Author: aherbert <ah...@apache.org>
AuthorDate: Tue Oct 11 12:45:13 2022 +0100

    Drop checkstyle 3.1.2 for 3.2.0 in commons parent
    
    Update checkstyle dependency 8.45 for 9.3 in commons parent
---
 pom.xml | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/pom.xml b/pom.xml
index 17456fcf..cae140f6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,8 +58,6 @@
     <commons.encoding>UTF-8</commons.encoding>
     <maven.compiler.source>1.8</maven.compiler.source>
     <maven.compiler.target>1.8</maven.compiler.target>
-    <numbers.checkstyle.version>3.1.2</numbers.checkstyle.version>
-    <numbers.checkstyle.dep.version>8.45</numbers.checkstyle.dep.version>
     <numbers.mathjax.version>2.7.2</numbers.mathjax.version>
     <numbers.commons.math3.version>3.6.1</numbers.commons.math3.version>
     <numbers.commons.rng.version>1.5</numbers.commons.rng.version>
@@ -249,13 +247,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>com.puppycrawl.tools</groupId>
-            <artifactId>checkstyle</artifactId>
-            <version>${numbers.checkstyle.dep.version}</version>
-          </dependency>
-        </dependencies>
         <configuration>
           <includeTestSourceDirectory>true</includeTestSourceDirectory>
           <configLocation>${numbers.parent.dir}/src/main/resources/checkstyle/checkstyle.xml</configLocation>
@@ -268,7 +259,6 @@
           <logViolationsToConsole>true</logViolationsToConsole>
           <failOnViolation>true</failOnViolation>
           <resourceExcludes>NOTICE,LICENSE,**/pom.properties,**/resolver-status.properties,**/sha512.properties</resourceExcludes>
-          <excludes>**/generated/**.java</excludes>
         </configuration>
         <executions>
           <execution>
@@ -367,16 +357,6 @@
         </configuration>
       </plugin>
     </plugins>
-
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-checkstyle-plugin</artifactId>
-          <version>${numbers.checkstyle.version}</version>
-        </plugin>
-      </plugins>
-    </pluginManagement>
   </build>
 
   <reporting>
@@ -428,14 +408,12 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
-        <version>${numbers.checkstyle.version}</version>
         <configuration>
           <configLocation>${numbers.parent.dir}/src/main/resources/checkstyle/checkstyle.xml</configLocation>
           <headerLocation>${numbers.parent.dir}/src/main/resources/checkstyle/license-header.txt</headerLocation>
           <suppressionsLocation>${numbers.parent.dir}/src/main/resources/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
           <enableRulesSummary>false</enableRulesSummary>
           <includeResources>false</includeResources>
-          <excludes>**/generated/**.java</excludes>
         </configuration>
         <reportSets>
           <reportSet>


[commons-numbers] 01/12: Update commons RNG 1.4 to 1.5

Posted by ah...@apache.org.
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-numbers.git

commit ff88badfeb6b9e4c1a330a228862f021b528b05e
Author: aherbert <ah...@apache.org>
AuthorDate: Tue Oct 11 12:21:36 2022 +0100

    Update commons RNG 1.4 to 1.5
    
    Use RNG BOM for dependency management.
---
 pom.xml | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/pom.xml b/pom.xml
index 0482c12b..06e28979 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,7 +63,7 @@
     <numbers.mathjax.version>2.7.2</numbers.mathjax.version>
     <numbers.junit.bom.version>5.4.2</numbers.junit.bom.version>
     <numbers.commons.math3.version>3.6.1</numbers.commons.math3.version>
-    <numbers.commons.rng.version>1.4</numbers.commons.rng.version>
+    <numbers.commons.rng.version>1.5</numbers.commons.rng.version>
     <numbers.antrun.version>1.8</numbers.antrun.version>
     <!-- Workaround to avoid duplicating config files. -->
     <numbers.parent.dir>${basedir}</numbers.parent.dir>
@@ -186,13 +186,10 @@
       </dependency>
       <dependency>
         <groupId>org.apache.commons</groupId>
-        <artifactId>commons-rng-simple</artifactId>
-        <version>${numbers.commons.rng.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.commons</groupId>
-        <artifactId>commons-rng-sampling</artifactId>
+        <artifactId>commons-rng-bom</artifactId>
         <version>${numbers.commons.rng.version}</version>
+        <scope>import</scope>
+        <type>pom</type>
       </dependency>
     </dependencies>
   </dependencyManagement>


[commons-numbers] 12/12: Update japicmp 0.15.3 to CP 0.16.0

Posted by ah...@apache.org.
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-numbers.git

commit 8b2bd19b0a0476f74c0718cf6063dcba52a2171e
Author: aherbert <ah...@apache.org>
AuthorDate: Tue Oct 11 13:01:50 2022 +0100

    Update japicmp 0.15.3 to CP 0.16.0
---
 pom.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 4765e581..705072d8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -76,9 +76,6 @@
     <commons.jacoco.methodRatio>1.00</commons.jacoco.methodRatio>
     <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
 
-    <!-- Override commons parent 51 to allow build on JDK 17.  -->
-    <commons.japicmp.version>0.15.3</commons.japicmp.version>
-
     <commons.site.path>numbers</commons.site.path>
     <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-numbers</commons.scmPubUrl>
     <commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>