Bug 62690

Summary: Missing Maven dependency to commons-math3
Product: POI Reporter: Daniel Kastner <kastner>
Component: POI OverallAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 4.0.0-FINAL   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Daniel Kastner 2018-09-07 10:33:24 UTC
Hello,

according to https://poi.apache.org/components/index.html
"Apache commons-math3 was added as a dependency in POI 4.0.0."

But as you can see here
https://search.maven.org/artifact/org.apache.poi/poi/4.0.0/jar
the dependency to commons-math3 is missing there.

Best regards
Comment 1 PJ Fanning 2018-09-07 15:29:05 UTC
This jar should be only needed for certain Excel functions (linear algebra functions, as far as I recall).
We could add the commons-math3 dependency to our pom but users should be able to workaround the issue by adding their own dependency on commons-math3 (v3.6.1 is the version we compile and test with).
Comment 2 Daniel Kastner 2018-09-11 08:58:23 UTC
(In reply to PJ Fanning from comment #1)
> This jar should be only needed for certain Excel functions (linear algebra
> functions, as far as I recall).
> We could add the commons-math3 dependency to our pom but users should be
> able to workaround the issue by adding their own dependency on commons-math3
> (v3.6.1 is the version we compile and test with).

Maybe you could add dependency on commons-math3 as optional in your pom file.