Commit Graph

342 Commits

Author SHA1 Message Date
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
Gilles Sadowski 5e59617d85 MATH-1578: Modularization.
Code moved from "o.a.c.math4.legacy.ml.neuralnet" into a dedicated module.

Refactored "TSP" example application (formerly provided as a unit test).
2021-05-21 14:52:27 +02:00
Gilles Sadowski 9fca795acf Set up module for example applications.
Moved "Chinese Rings" example into the new module.
2021-05-19 15:28:59 +02:00
Gilles Sadowski 9d1741bfe4 Modularization.
For now, all codes were placed in module "commons-math-legacy".
Selected parts should gradually be moved out of that module into their own.
2021-05-15 05:36:48 +02:00
Gilles Sadowski cc1fe8acec Upgrade CP. 2021-05-08 15:30:13 +02:00
Gilles Sadowski 2da7454c57 MATH-1562: Add "Automatic-Module-Name" entry to JAR manifest file. 2020-11-11 16:11:44 +01:00
Gilles Sadowski c1801e6776 File indentation nit. 2020-11-11 15:26:14 +01:00
John Patrick e3355741ed JUnit v4.13.1 2020-10-11 19:37:27 +01:00
Gilles Sadowski 90ea1c9218 Add "<defaultGoal>" in order to have CheckStyle run by Travis.
Move CheckStyle configuration files.
2020-07-29 20:18:41 +02:00
Gilles Sadowski 165926f77e Upgrade dependency. 2020-04-27 07:30:42 +02:00
Gilles Sadowski 2764b8239f Update list of contributors. 2020-04-11 13:52:12 +02:00
Gilles Sadowski 68de72cc0b Make "<build>" and "<reporting>" sections consistent (wrt RAT analysis). 2020-03-26 17:55:55 +01:00
Gilles Sadowski 6f361582b2 Avoid RAT failure on generated files. 2020-03-10 18:29:56 +01:00
Gilles Sadowski 4d5983aa87 Update userguide code examples. 2020-02-18 17:18:00 +01:00
Gilles Sadowski 80df02f2d2 Downgrade CP: Missing HTML contents for some of the generated files. 2019-12-27 12:53:36 +01:00
Gilles Sadowski 06d45af838 Upgrade CP. 2019-12-24 13:19:11 +01:00
Gilles Sadowski 735dbc7934 MATH-1469: Removal of codes ported to "Commons Geometry".
Classes "FieldVector3D" and "FieldRotation" were not ported as they depend on "RealFieldElement".
2019-12-02 05:25:25 +01:00
Gilles Sadowski 0346204c7c Use "BigFraction" class from "Commons Numbers". 2019-10-22 13:58:10 +02:00