Commit Graph

327 Commits

Author SHA1 Message Date
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
Gilles Sadowski f8c031ee38 Upgrade to "Commons RNG" (v1.2).
Seed had to be modified in class "KolmogorovSmirnovTest" for a unit test to pass.
2019-10-22 13:49:45 +02:00
Gilles Sadowski d0d4feaf27 Use properties to define version of dependencies. 2019-10-22 13:45:13 +02:00
Gilles Sadowski a9645dbc02 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-math 2019-08-19 12:55:30 +02:00
Gilles Sadowski 4a0b49737c POM file standardization.
Cf. https://markmail.org/message/obiklp3oeuu7y2fc
2019-08-19 12:51:29 +02:00
Gary Gregory 31e69b220a Use HTTPS to access Apache resources. 2019-07-06 20:48:06 -04:00
Gilles Sadowski 418f2eb7f4 Upgrade to CP 48.
Outdated profile removed: New version will target Java 8 (or later).
Jacoco configuration removed (inherited from CP).
2019-06-16 23:35:19 +02:00
Gilles Sadowski 4b0f52c0dd Use "BrentSolver" implementation from "Commons Numbers". 2019-06-09 09:56:52 +02:00
aherbert 5acefbd61c Fixed MathJax Javadoc support for maven-javadoc-plugin version 3. 2019-02-15 11:01:49 +00:00
Gilles Sadowski d7d4e4df72 INFRA-17381: Repository moved to "gitbox". 2018-12-11 02:45:33 +01:00
Gilles 2b4fcc2c21 Update dependencies. 2018-08-29 02:13:05 +02:00
Gilles e37de249b1 Class "ComplexUtils" was moved to another module. 2018-06-11 23:30:22 +02:00
Gilles 0f25f11ce6 MATH-1416: Depend on "Commons Numbers". 2018-02-28 02:07:37 +01:00
Gilles 036a2cae25 Target Java 8.
To allow dependence on spin-off components that also target Java 8.
2018-02-02 17:04:03 +01:00
Gilles 3c0c9d83e2 MATH-1443: Depend on "Commons Statistics". 2018-01-24 16:16:00 +01:00
Gilles 333a32488f Plugins update. 2017-08-10 03:04:53 +02:00