[ 
https://issues.apache.org/jira/browse/MATH-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17477245#comment-17477245
 ] 

Gilles Sadowski commented on MATH-1638:
---------------------------------------

bq. ...-20210510...

This is much too old.
Commons Math is being modularized (WIP, with much work still to do after the 
release of version 4.0).

bq. These are some the math3 classes used by POI.

bq. import org.apache.commons.math3.util.ArithmeticUtils

This functionality has been moved to ["Commons 
Numbers"|https://commons.apache.org/proper/commons-numbers/] (in module 
["commons-numbers-core"|https://commons.apache.org/proper/commons-numbers/commons-numbers-core/javadocs/api-1.0/org/apache/commons/numbers/core/ArithmeticUtils.html].

{quote}
import org.apache.commons.math3.linear.LUDecomposition;
import org.apache.commons.math3.linear.MatrixUtils;
import org.apache.commons.math3.linear.RealMatrix;
import org.apache.commons.math3.linear.Array2DRowRealMatrix;
{quote}

Those are still in "Commons Math" (in the 
["legacy"|https://gitbox.apache.org/repos/asf?p=commons-math.git;a=tree;f=commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear;h=ae909538cfe81b5f205c9178e56ae771b86a05e3;hb=HEAD]
 module).

bq. import org.apache.commons.math3.stat.descriptive.moment.GeometricMean;

Also still in 
["legacy"|https://gitbox.apache.org/repos/asf?p=commons-math.git;a=blob;f=commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/GeometricMean.java;h=5d9fee50740b52b10ce3c5d2c90d80bfd13ceb1c;hb=HEAD].
Long-term project is to move the {{stat}} package functionality to the new 
["Commons Statistics"|https://commons.apache.org/proper/commons-statistics/] 
component.

bq. import org.apache.commons.math3.stat.regression.OLSMultipleLinearRegression;

Still in 
["legacy"|https://gitbox.apache.org/repos/asf?p=commons-math.git;a=blob;f=commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/regression/OLSMultipleLinearRegression.java;h=d8e9ad6ce6c79116d2fa4960786b4c3d44f126fa;hb=HEAD].

bq. import org.apache.commons.math3.distribution.TDistribution;

This functionality has been moved to ["Commons 
Statistics"|https://gitbox.apache.org/repos/asf?p=commons-statistics.git;a=blob;f=commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/TDistribution.java;h=0ce37a1a6acf267b0b144f691d3d2eba3ba9ba81;hb=HEAD]
 (yet unreleased).


> Add module-info.java into 3.x
> -----------------------------
>
>                 Key: MATH-1638
>                 URL: https://issues.apache.org/jira/browse/MATH-1638
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 3.6.1
>            Reporter: Jan Tošovský
>            Priority: Major
>
> When Math3 is used as dependency, the parent project can't be processed by 
> [jlink|https://docs.oracle.com/javase/9/tools/jlink.htm], which rejects 
> dependencies with automatic module names.
> While module-info is already added to 4.x version, this version is not going 
> to be released soon.
> Would it be possible to fix 3.x version and create a new release?
> Thanks!
> (Math3 is dependency of Apache POI so entire POI cannot be used as dependency 
> in my project) 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to