diff --git a/apache-commons-math/pom.xml b/apache-commons-math/pom.xml
deleted file mode 100644
index 98c6953120..0000000000
--- a/apache-commons-math/pom.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
- 4.0.0
-
- com.baeldung
- apache-commons-math
- 1.0-SNAPSHOT
-
-
- 3.6.0
-
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- ${maven-compiler-plugin.version}
-
- 1.8
- 1.8
-
-
-
-
-
-
-
- org.apache.commons
- commons-math3
- 3.6.1
-
-
-
- junit
- junit
- 4.12
- test
-
-
-
-
\ No newline at end of file
diff --git a/libraries/pom.xml b/libraries/pom.xml
index c0c2321388..0643e8257b 100644
--- a/libraries/pom.xml
+++ b/libraries/pom.xml
@@ -171,6 +171,11 @@
${flink.version}
test
+
+ org.apache.commons
+ commons-math3
+ 3.6.1
+
diff --git a/apache-commons-math/src/test/java/com/baeldung/commons/math/ComplexTests.java b/libraries/src/test/java/com/baeldung/commons/math/ComplexTests.java
similarity index 100%
rename from apache-commons-math/src/test/java/com/baeldung/commons/math/ComplexTests.java
rename to libraries/src/test/java/com/baeldung/commons/math/ComplexTests.java
diff --git a/apache-commons-math/src/test/java/com/baeldung/commons/math/FractionTests.java b/libraries/src/test/java/com/baeldung/commons/math/FractionTests.java
similarity index 89%
rename from apache-commons-math/src/test/java/com/baeldung/commons/math/FractionTests.java
rename to libraries/src/test/java/com/baeldung/commons/math/FractionTests.java
index 6efef79b23..6828c8490c 100644
--- a/apache-commons-math/src/test/java/com/baeldung/commons/math/FractionTests.java
+++ b/libraries/src/test/java/com/baeldung/commons/math/FractionTests.java
@@ -1,7 +1,6 @@
package com.baeldung.commons.math;
import org.apache.commons.math3.fraction.Fraction;
-import org.apache.commons.math3.fraction.FractionFormat;
import org.junit.Assert;
import org.junit.Test;
diff --git a/apache-commons-math/src/test/java/com/baeldung/commons/math/GeometryTests.java b/libraries/src/test/java/com/baeldung/commons/math/GeometryTests.java
similarity index 100%
rename from apache-commons-math/src/test/java/com/baeldung/commons/math/GeometryTests.java
rename to libraries/src/test/java/com/baeldung/commons/math/GeometryTests.java
diff --git a/apache-commons-math/src/test/java/com/baeldung/commons/math/IntegrationTests.java b/libraries/src/test/java/com/baeldung/commons/math/IntegrationTests.java
similarity index 100%
rename from apache-commons-math/src/test/java/com/baeldung/commons/math/IntegrationTests.java
rename to libraries/src/test/java/com/baeldung/commons/math/IntegrationTests.java
diff --git a/apache-commons-math/src/test/java/com/baeldung/commons/math/LinearAlgebraTests.java b/libraries/src/test/java/com/baeldung/commons/math/LinearAlgebraTests.java
similarity index 100%
rename from apache-commons-math/src/test/java/com/baeldung/commons/math/LinearAlgebraTests.java
rename to libraries/src/test/java/com/baeldung/commons/math/LinearAlgebraTests.java
diff --git a/apache-commons-math/src/test/java/com/baeldung/commons/math/ProbabilitiesTests.java b/libraries/src/test/java/com/baeldung/commons/math/ProbabilitiesTests.java
similarity index 100%
rename from apache-commons-math/src/test/java/com/baeldung/commons/math/ProbabilitiesTests.java
rename to libraries/src/test/java/com/baeldung/commons/math/ProbabilitiesTests.java
diff --git a/apache-commons-math/src/test/java/com/baeldung/commons/math/RootFindingTests.java b/libraries/src/test/java/com/baeldung/commons/math/RootFindingTests.java
similarity index 100%
rename from apache-commons-math/src/test/java/com/baeldung/commons/math/RootFindingTests.java
rename to libraries/src/test/java/com/baeldung/commons/math/RootFindingTests.java
diff --git a/apache-commons-math/src/test/java/com/baeldung/commons/math/StatisticsTests.java b/libraries/src/test/java/com/baeldung/commons/math/StatisticsTests.java
similarity index 100%
rename from apache-commons-math/src/test/java/com/baeldung/commons/math/StatisticsTests.java
rename to libraries/src/test/java/com/baeldung/commons/math/StatisticsTests.java