Hi the Develop Team,
I am not sure which place I should post my question exactly. I have posted the following question in the github discussion. Just in case that is the wrong place, I copy it here.
Per the requirement of an open source project, the Orekit, which depends on Hipparchus, I need to install the Hipparchus into my local maven repository, by following commands:
git clone https://github.com/Hipparchus-Math/hipparchus.git
cd hipparchus
mvn install
But I got the following failure message:
[INFO] Results:
[ERROR] Failures:
[ERROR] FastMathTest.checkMissingFastMathClasses:1542 FastMath should implement all StrictMath methods ==> expected: but was:[ERROR] Tests run: 6829, Failures: 1, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Hipparchus 4.1-SNAPSHOT:[INFO] Hipparchus ......................................... SUCCESS [ 6.933 s] $$
[INFO] Hipparchus::Statistics … SKIPPED
[INFO] Hipparchus::Computational Geometry … SKIPPED
[INFO] Hipparchus::Ordinary Differential Equations … SKIPPED
[INFO] Hipparchus::Optimization … SKIPPED
[INFO] Hipparchus::Fitting … SKIPPED
[INFO] Hipparchus::Cluster Algorithms … SKIPPED
[INFO] Hipparchus::Samples … SKIPPED
[INFO] Hipparchus::Fast Fourier Transforms … SKIPPED
[INFO] Hipparchus::Filtering Algorithms … SKIPPED
[INFO] Hipparchus::Coverage … SKIPPED
[INFO] Hipparchus … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:55 min
[INFO] Finished at: 2026-04-03T17:09:55+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.5.2:test (default-test) on project hipparchus-core: There are test failures.[ERROR] See /home/hanbing/Code/hipparchus/hipparchus-core/target/surefire-reports for the individual test results.
[ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :hipparchus-core
As I am really new to this lib, could someone give me a clue where I might get it wrong?
For your information, I am working this on a Ubuntu OS with Maven, the output of mvn -v are
Apache Maven 3.8.7
Maven home: /usr/share/maven
Java version: 25.0.2, vendor: Ubuntu, runtime: /usr/lib/jvm/java-25-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: “linux”, version: “6.17.0-1012-oem”, arch: “amd64”, family: “unix”
Thanks a lot in advance for any comments.
Regards,
Hanbing