Commit Graph

359 Commits

Author SHA1 Message Date
Gary Gregory c7531ac698 Bump commons-parent from 57 to 58 2023-05-25 16:33:07 -04:00
Alex Herbert b49916f7f6 Simplify the release profile by removing redundant modules. 2023-05-09 00:31:44 +01:00
Alex Herbert cf78d0b2c6 Remove docs-archive
This duplicates in the reactor the functionality of the
commons-math-docs module.
2023-05-09 00:31:44 +01:00
Gilles Sadowski cae501c1f0 Upgrade to CP 57. 2023-04-28 02:49:10 +02:00
Gilles Sadowski 90d2d4edde Upgrade to CP 56. 2023-01-03 22:08:56 +01:00
Gilles Sadowski 8e5e8bb65b Reset "-SNAPSHOT" suffix in "<version>" tag.
Next version is still "4.0", with "0" as minor number, because last release was "beta".
2022-12-22 10:35:53 +01:00
Gilles Sadowski 506d4bea15 Merge branch '4.0-beta1-release' 2022-12-22 08:28:53 +01:00
Alex Herbert 0e3634108a Add a docs module to create aggregate reports
The site pages have been updated to link to the aggregate javadoc
report.
2022-12-21 23:36:47 +00:00
Gilles Sadowski 11237fb40f Create release candidate. 2022-12-13 12:46:40 +01:00
Gilles Sadowski 5d9ea27e97 Upgrade to CP 55. 2022-12-12 14:53:03 +01:00
Gilles Sadowski 873d645500 Depend on released version (1.0) of "Commons Statistics". 2022-12-06 22:46:36 +01:00
aherbert f7ef9b625b Fix git build number in manifest 2022-12-02 11:52:57 +00:00
aherbert 91b0bb3d30 Update to use commons.module.name (consitent with CP) 2022-12-02 11:50:28 +00:00
aherbert 24e4acc7de Update commons-numbers 1.1-SNAPSHOT to 1.1 2022-11-02 11:18:43 +00:00
aherbert 1b7cff82ab Use latest MathJax URL 2022-11-01 12:05:04 +00:00
aherbert 1d50e68f6d Add my name to the developers 2022-10-13 13:23:04 +01:00
aherbert 86c703f3af Update changes report configuration to allow component reports
Remove configuration that is a duplicate of commons-parent.
2022-10-13 13:08:39 +01:00
aherbert b7988729bd Drop surefire 3.0.0-M5 for 3.0.0-M7 in commons parent 2022-10-13 13:01:07 +01:00
aherbert 7b18e4f676 Reorder properties to match commons RNG parent.
Update commons.module.name to commons.automatic.module.name
2022-10-13 12:59:51 +01:00
aherbert cff0c9b4b4 Remove javadoc links added by commons parent 2022-10-13 12:48:27 +01:00
aherbert 23ef546eff Update PMD version to commons parent
plugin 3.14.0 -> 3.19.0
pmd-impl 6.37.0 -> 6.49.0
2022-10-13 12:47:08 +01:00
aherbert 2ceab60e7a Update spotbugs 4.3.0 to CP 4.7.2.0 2022-10-13 12:44:37 +01:00
aherbert 070517388d Drop checkstyle 3.1.0 for 3.2.0 in commons parent
Update checkstyle dependency 8.29 for 9.3 in commons parent

Remove checkstyle excludes for generated code.
2022-10-13 11:48:31 +01:00
aherbert 10f519d8c2 Drop antrun 1.8 for 3.1.0 in commons parent 2022-10-13 11:44:44 +01:00
aherbert 8d4381b75a Drop junit 5.7.2 for 5.9.0 in commons parent 2022-10-13 11:44:05 +01:00
aherbert e59397ba10 Update to CP 54
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.
2022-10-13 11:43:46 +01:00
aherbert 49d542fc03 Update to commons RNG 1.5
Use BOM for dependency management
2022-10-13 10:36:08 +01:00
aherbert e85dd59990 Add aggregate coverage report
This is used to report coverage across all modules for the multi-module
project, e.g. use of the legacy.exception and jdkmath packages.
2022-06-13 14:11:11 +01:00
aherbert f4c8f1a91c Update to Commons Parent 53
Requires update of PMD version to allow build on JDK 17.

Plugin: 3.13.0 -> 3.14.0
Dependency: 6.21.0 -> 6.37.0
2022-06-07 15:19:03 +01:00
Gilles Sadowski 022332820a Upgrade dependency.
Commons Statistics 1.0-SNAPSHOT requires Commons Numbers 1.1-SNAPSHOT.
2022-01-24 05:54:10 +01:00
aherbert f4bc2a48ce Do not perform site checkout by default 2022-01-18 17:55:15 +00:00
aherbert 916a7d0c14 Add a release profile 2022-01-18 17:35:17 +00:00
Gilles Sadowski 21e230ae83 MATH-1630: Runtime switch between JDK and CM implementations of the methods defined in "java.lang.Math".
Default is to use the CM implementations in order to retain previous behaviour.
When using the JDK implementations, some unit tests fail (on Java 8).

Class "AccurateMath" was moved to "o.a.c.math4.core" package.
[Unit tests for that class were not moved because they depend on "legacy" classes.]
2021-10-16 11:14:09 +02:00
aherbert 83b0eba9db Updated SpotBugs 3.1.8 to 4.3.0 to allow building on JDK 17.
A generic exclusion has been added to allow the build to pass.
2021-10-13 14:09:08 +01:00
Gilles Sadowski acfc270834 Upgrade dependency. 2021-09-14 13:34:44 +02:00
Gilles Sadowski f44cae3985 Upgrade dependency. 2021-08-28 03:19:57 +02:00
Alex Herbert 7813ecb115 Update plugin order in pom
checkstyle
spotbugs
pmd
2021-08-19 00:35:58 +01:00
Alex Herbert 6e1e402ed6 Remove plugin checks from default goal
These plugins already run using executions:

apache-rat:check (validate)
checkstyle:check (verify)

Added to verify using executions:

pmd:check
spotbugs:check
2021-08-19 00:09:46 +01:00
Alex Herbert c9b95e6eaf Avoid existing site checkout in all child modules 2021-08-13 14:11:47 +01:00
Gilles Sadowski 40984b8275 Use JUnit 5 engine (unit tests).
Unmodified classes rely on JUnit 5 compatibility layer with JUnit 4.

Note: Upgrading to "maven-surefire-plugin" to version 3.0.0-M5 was
necessary since prior to 3.0.0-M4 support for "rerunFailingTestsCount"
was dropped on JUnit 5.
2021-08-09 17:59:01 +02:00
Gilles Sadowski 01e899a35f Upgrade dependency. 2021-07-18 17:26:05 +02:00
Gilles Sadowski dd9c46d4b8 Upgrade dependency. 2021-07-17 14:17:50 +02:00
Gilles Sadowski a1f2a98c28 Use functionality defined in "Commons Numbers". 2021-06-17 15:13:34 +02:00
Gilles Sadowski bdc4a527fb Remove dependencies on unused "Commons Numbers" modules. 2021-06-10 18:27:59 +02:00
Gilles Sadowski e85e8b53f2 Create module "commons-math-legacy-core" for holding functionality needed by many "legacy" modules.
"FastMath" (renamed "AccurateMath") and related classes moved to "o.a.c.m.legacy.core.jdkmath".
2021-06-01 00:26:35 +02:00
Gilles Sadowski bcdc7fbba7 MATH-1587: Move (legacy) exception classes to a dedicated maven module. 2021-05-31 14:37:20 +02:00
Samy Badjoudj b416ae586e MATH-1586: Moved classes that are only used by a single package over to that package 2021-05-28 15:33:22 +02:00
Gilles Sadowski ad5f0dac37 MATH-1536: Let unit tests use random seeds (and allow a few retries on failure).
Consistently failing test (in "NaturalRankingTest") set to "@Ignore".
2021-05-24 03:15:17 +02:00
Gilles Sadowski 92094a0993 MATH-1582: Modularization.
Code moved from "o.a.c.math4.legacy.transform" into a dedicated module.
2021-05-23 01:19:12 +02:00
Gilles Sadowski 44281eea76 Ordering of modules in POM.
A module independent of "legacy" codes should be declared before the
"legacy" module (to avoid introducing unwanted dependencies).
2021-05-21 15:24:49 +02:00