You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2022/01/31 23:47:52 UTC
[commons-math] 02/02: Consolidate POM files.
This is an automated email from the ASF dual-hosted git repository.
erans pushed a commit to branch feature__MATH-1563__genetic_algorithm
in repository https://gitbox.apache.org/repos/asf/commons-math.git
commit 07deb60ecf11782d18c06deb098339109fe6bd5e
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Tue Feb 1 00:47:00 2022 +0100
Consolidate POM files.
---
.../examples-ga-math-functions-adaptive/pom.xml | 65 ++++--------
.../examples-ga-math-functions-legacy/pom.xml | 69 ++++++------
.../examples-ga/examples-ga-math-functions/pom.xml | 65 ++++--------
.../examples-ga/examples-ga-tsp-legacy/pom.xml | 78 +++++++-------
.../examples-ga/examples-ga-tsp/pom.xml | 70 ++++---------
commons-math-examples/examples-ga/pom.xml | 81 ++++++++------
commons-math-examples/pom.xml | 22 ++++
commons-math-ga/pom.xml | 116 +++++++++++----------
8 files changed, 279 insertions(+), 287 deletions(-)
diff --git a/commons-math-examples/examples-ga/examples-ga-math-functions-adaptive/pom.xml b/commons-math-examples/examples-ga/examples-ga-math-functions-adaptive/pom.xml
index 1b53bea..b73679d 100644
--- a/commons-math-examples/examples-ga/examples-ga-math-functions-adaptive/pom.xml
+++ b/commons-math-examples/examples-ga/examples-ga-math-functions-adaptive/pom.xml
@@ -16,48 +16,29 @@
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.commons</groupId>
- <artifactId>examples-ga</artifactId>
- <version>4.0-SNAPSHOT</version>
- </parent>
- <artifactId>examples-ga-math-functions-adaptive</artifactId>
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>examples-ga</artifactId>
+ <version>4.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>examples-ga-math-functions-adaptive</artifactId>
+ <version>4.0-SNAPSHOT</version>
+ <name>GA: Math Functions Adaptive</name>
- <properties>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
+ <properties>
+ <!-- OSGi -->
+ <commons.osgi.symbolicName>org.apache.commons.math4.examples.ga.mathfunctions.adaptive</commons.osgi.symbolicName>
+ <commons.osgi.export>org.apache.commons.math4.examples.ga.mathfunctions.adaptive</commons.osgi.export>
+ <!-- Java 9+ -->
+ <commons.automatic.module.name>org.apache.commons.math4.examples.ga.mathfunctions.adaptive</commons.automatic.module.name>
+ <!-- Workaround to avoid duplicating config files. -->
+ <math.parent.dir>${basedir}/../../..</math.parent.dir>
- <!-- OSGi -->
- <commons.osgi.symbolicName>org.apache.commons.math4.examples.ga.mathfunctions.adaptive</commons.osgi.symbolicName>
- <commons.osgi.export>org.apache.commons.math4.examples.ga.mathfunctions.adaptive</commons.osgi.export>
- <!-- Java 9+ -->
- <commons.automatic.module.name>org.apache.commons.math4.examples.ga.mathfunctions.adaptive</commons.automatic.module.name>
- <!-- Workaround to avoid duplicating config files. -->
- <math.parent.dir>${basedir}/../../..</math.parent.dir>
+ <uberjar.name>examples-ga-mathfunctions-adaptive</uberjar.name>
+ <project.mainClass>org.apache.commons.math4.examples.ga.mathfunctions.adaptive.StandAlone</project.mainClass>
+ </properties>
- <uberjar.name>examples-ga-mathfunctions-adaptive</uberjar.name>
- <project.mainClass>org.apache.commons.math4.examples.ga.mathfunctions.adaptive.StandAlone</project.mainClass>
- <slf4jVersion>1.7.32</slf4jVersion>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-math-ga</artifactId>
- <version>4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.jfree</groupId>
- <artifactId>jfreechart</artifactId>
- <version>1.5.3</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
- <version>${slf4jVersion}</version>
- </dependency>
- </dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/commons-math-examples/examples-ga/examples-ga-math-functions-legacy/pom.xml b/commons-math-examples/examples-ga/examples-ga-math-functions-legacy/pom.xml
index 874fc82..d4bda0b 100644
--- a/commons-math-examples/examples-ga/examples-ga-math-functions-legacy/pom.xml
+++ b/commons-math-examples/examples-ga/examples-ga-math-functions-legacy/pom.xml
@@ -16,37 +16,38 @@
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.commons</groupId>
- <artifactId>examples-ga</artifactId>
- <version>4.0-SNAPSHOT</version>
- </parent>
- <artifactId>examples-ga-math-functions-legacy</artifactId>
-
- <properties>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
-
- <!-- OSGi -->
- <commons.osgi.symbolicName>org.apache.commons.math4.examples.ga.mathfunctions.legacy</commons.osgi.symbolicName>
- <commons.osgi.export>org.apache.commons.math4.examples.ga.mathfunctions.legacy</commons.osgi.export>
- <!-- Java 9+ -->
- <commons.automatic.module.name>org.apache.commons.math4.examples.ga.mathfunctions.legacy</commons.automatic.module.name>
- <!-- Workaround to avoid duplicating config files. -->
- <math.parent.dir>${basedir}/../../..</math.parent.dir>
-
- <uberjar.name>examples-ga-mathfunctions-legacy</uberjar.name>
- <project.mainClass>org.apache.commons.math4.examples.ga.mathfunctions.legacy.StandAlone</project.mainClass>
- <slf4jVersion>1.7.32</slf4jVersion>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-math3</artifactId>
- </dependency>
- </dependencies>
-</project>
\ No newline at end of file
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>examples-ga</artifactId>
+ <version>4.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>examples-ga-math-functions-legacy</artifactId>
+ <version>4.0-SNAPSHOT</version>
+ <name>GA: Math Functions (legacy)</name>
+
+ <properties>
+ <!-- OSGi -->
+ <commons.osgi.symbolicName>org.apache.commons.math4.examples.ga.mathfunctions.legacy</commons.osgi.symbolicName>
+ <commons.osgi.export>org.apache.commons.math4.examples.ga.mathfunctions.legacy</commons.osgi.export>
+ <!-- Java 9+ -->
+ <commons.automatic.module.name>org.apache.commons.math4.examples.ga.mathfunctions.legacy</commons.automatic.module.name>
+ <!-- Workaround to avoid duplicating config files. -->
+ <math.parent.dir>${basedir}/../../..</math.parent.dir>
+
+ <uberjar.name>examples-ga-mathfunctions-legacy</uberjar.name>
+ <project.mainClass>org.apache.commons.math4.examples.ga.mathfunctions.legacy.StandAlone</project.mainClass>
+ </properties>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-math3</artifactId>
+ </dependency>
+
+ </dependencies>
+
+</project>
diff --git a/commons-math-examples/examples-ga/examples-ga-math-functions/pom.xml b/commons-math-examples/examples-ga/examples-ga-math-functions/pom.xml
index aa2f8af..de5a314 100644
--- a/commons-math-examples/examples-ga/examples-ga-math-functions/pom.xml
+++ b/commons-math-examples/examples-ga/examples-ga-math-functions/pom.xml
@@ -16,48 +16,29 @@
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.commons</groupId>
- <artifactId>examples-ga</artifactId>
- <version>4.0-SNAPSHOT</version>
- </parent>
- <artifactId>examples-ga-math-functions</artifactId>
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>examples-ga</artifactId>
+ <version>4.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>examples-ga-math-functions</artifactId>
+ <version>4.0-SNAPSHOT</version>
+ <name>GA: Math Functions</name>
- <properties>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
+ <properties>
+ <!-- OSGi -->
+ <commons.osgi.symbolicName>org.apache.commons.math4.examples.ga.mathfunctions</commons.osgi.symbolicName>
+ <commons.osgi.export>org.apache.commons.math4.examples.ga.mathfunctions</commons.osgi.export>
+ <!-- Java 9+ -->
+ <commons.automatic.module.name>org.apache.commons.math4.examples.ga.mathfunctions</commons.automatic.module.name>
+ <!-- Workaround to avoid duplicating config files. -->
+ <math.parent.dir>${basedir}/../../..</math.parent.dir>
- <!-- OSGi -->
- <commons.osgi.symbolicName>org.apache.commons.math4.examples.ga.mathfunctions</commons.osgi.symbolicName>
- <commons.osgi.export>org.apache.commons.math4.examples.ga.mathfunctions</commons.osgi.export>
- <!-- Java 9+ -->
- <commons.automatic.module.name>org.apache.commons.math4.examples.ga.mathfunctions</commons.automatic.module.name>
- <!-- Workaround to avoid duplicating config files. -->
- <math.parent.dir>${basedir}/../../..</math.parent.dir>
+ <uberjar.name>examples-ga-mathfunctions</uberjar.name>
+ <project.mainClass>org.apache.commons.math4.examples.ga.mathfunctions.StandAlone</project.mainClass>
+ </properties>
- <uberjar.name>examples-ga-mathfunctions</uberjar.name>
- <project.mainClass>org.apache.commons.math4.examples.ga.mathfunctions.StandAlone</project.mainClass>
- <slf4jVersion>1.7.32</slf4jVersion>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-math-ga</artifactId>
- <version>4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.jfree</groupId>
- <artifactId>jfreechart</artifactId>
- <version>1.5.3</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
- <version>${slf4jVersion}</version>
- </dependency>
- </dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/commons-math-examples/examples-ga/examples-ga-tsp-legacy/pom.xml b/commons-math-examples/examples-ga/examples-ga-tsp-legacy/pom.xml
index 65f8dbc..21eda05 100644
--- a/commons-math-examples/examples-ga/examples-ga-tsp-legacy/pom.xml
+++ b/commons-math-examples/examples-ga/examples-ga-tsp-legacy/pom.xml
@@ -16,41 +16,43 @@
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.commons</groupId>
- <artifactId>examples-ga</artifactId>
- <version>4.0-SNAPSHOT</version>
- </parent>
- <artifactId>examples-ga-tsp-legacy</artifactId>
- <properties>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
-
- <!-- OSGi -->
- <commons.osgi.symbolicName>org.apache.commons.math4.examples.ga.tsp.legacy</commons.osgi.symbolicName>
- <commons.osgi.export>org.apache.commons.math4.examples.ga.tsp.legacy</commons.osgi.export>
- <!-- Java 9+ -->
- <commons.automatic.module.name>org.apache.commons.math4.examples.ga.tsp.legacy</commons.automatic.module.name>
- <!-- Workaround to avoid duplicating config files. -->
- <math.parent.dir>${basedir}/../../..</math.parent.dir>
-
- <uberjar.name>examples-ga-tsp-legacy</uberjar.name>
- <project.mainClass>org.apache.commons.math4.examples.ga.tsp.legacy.StandAlone</project.mainClass>
- <slf4jVersion>1.7.32</slf4jVersion>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-math3</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-csv</artifactId>
- <version>1.9.0</version>
- </dependency>
- </dependencies>
-</project>
\ No newline at end of file
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>examples-ga</artifactId>
+ <version>4.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>examples-ga-tsp-legacy</artifactId>
+ <version>4.0-SNAPSHOT</version>
+ <name>GA: TSP (legacy)</name>
+
+ <properties>
+ <!-- OSGi -->
+ <commons.osgi.symbolicName>org.apache.commons.math4.examples.ga.tsp.legacy</commons.osgi.symbolicName>
+ <commons.osgi.export>org.apache.commons.math4.examples.ga.tsp.legacy</commons.osgi.export>
+ <!-- Java 9+ -->
+ <commons.automatic.module.name>org.apache.commons.math4.examples.ga.tsp.legacy</commons.automatic.module.name>
+ <!-- Workaround to avoid duplicating config files. -->
+ <math.parent.dir>${basedir}/../../..</math.parent.dir>
+
+ <uberjar.name>examples-ga-tsp-legacy</uberjar.name>
+ <project.mainClass>org.apache.commons.math4.examples.ga.tsp.legacy.StandAlone</project.mainClass>
+ </properties>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-math3</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-csv</artifactId>
+ </dependency>
+
+ </dependencies>
+
+</project>
diff --git a/commons-math-examples/examples-ga/examples-ga-tsp/pom.xml b/commons-math-examples/examples-ga/examples-ga-tsp/pom.xml
index f42dd22..c63e39d 100644
--- a/commons-math-examples/examples-ga/examples-ga-tsp/pom.xml
+++ b/commons-math-examples/examples-ga/examples-ga-tsp/pom.xml
@@ -16,53 +16,29 @@
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.commons</groupId>
- <artifactId>examples-ga</artifactId>
- <version>4.0-SNAPSHOT</version>
- </parent>
- <artifactId>examples-ga-tsp</artifactId>
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>examples-ga</artifactId>
+ <version>4.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>examples-ga-tsp</artifactId>
+ <version>4.0-SNAPSHOT</version>
+ <name>GA: TSP</name>
- <properties>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
+ <properties>
+ <!-- OSGi -->
+ <commons.osgi.symbolicName>org.apache.commons.math4.examples.ga.tsp</commons.osgi.symbolicName>
+ <commons.osgi.export>org.apache.commons.math4.examples.ga.tsp</commons.osgi.export>
+ <!-- Java 9+ -->
+ <commons.automatic.module.name>org.apache.commons.math4.examples.ga.tsp</commons.automatic.module.name>
+ <!-- Workaround to avoid duplicating config files. -->
+ <math.parent.dir>${basedir}/../../..</math.parent.dir>
- <!-- OSGi -->
- <commons.osgi.symbolicName>org.apache.commons.math4.examples.ga.tsp</commons.osgi.symbolicName>
- <commons.osgi.export>org.apache.commons.math4.examples.ga.tsp</commons.osgi.export>
- <!-- Java 9+ -->
- <commons.automatic.module.name>org.apache.commons.math4.examples.ga.tsp</commons.automatic.module.name>
- <!-- Workaround to avoid duplicating config files. -->
- <math.parent.dir>${basedir}/../../..</math.parent.dir>
+ <uberjar.name>examples-ga-tsp</uberjar.name>
+ <project.mainClass>org.apache.commons.math4.examples.ga.tsp.StandAlone</project.mainClass>
+ </properties>
- <uberjar.name>examples-ga-tsp</uberjar.name>
- <project.mainClass>org.apache.commons.math4.examples.ga.tsp.StandAlone</project.mainClass>
- <slf4jVersion>1.7.32</slf4jVersion>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-math-ga</artifactId>
- <version>4.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.jfree</groupId>
- <artifactId>jfreechart</artifactId>
- <version>1.5.3</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-csv</artifactId>
- <version>1.9.0</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
- <version>${slf4jVersion}</version>
- </dependency>
- </dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/commons-math-examples/examples-ga/pom.xml b/commons-math-examples/examples-ga/pom.xml
index dc91479..4c9e189 100644
--- a/commons-math-examples/examples-ga/pom.xml
+++ b/commons-math-examples/examples-ga/pom.xml
@@ -16,34 +16,53 @@
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-math-examples</artifactId>
- <version>4.0-SNAPSHOT</version>
- </parent>
- <artifactId>examples-ga</artifactId>
- <packaging>pom</packaging>
- <name>examples-genetic-algorithm</name>
-
- <properties>
- <!-- Workaround to avoid duplicating config files. -->
- <math.parent.dir>${basedir}/../..</math.parent.dir>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>info.picocli</groupId>
- <artifactId>picocli</artifactId>
- </dependency>
- </dependencies>
- <modules>
- <module>examples-ga-math-functions</module>
- <module>examples-ga-math-functions-adaptive</module>
- <module>examples-ga-math-functions-legacy</module>
- <module>examples-ga-tsp</module>
- <module>examples-ga-tsp-legacy</module>
- </modules>
-</project>
\ No newline at end of file
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-math-examples</artifactId>
+ <version>4.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>examples-ga</artifactId>
+ <packaging>pom</packaging>
+ <name>GA</name>
+
+ <properties>
+ <!-- Workaround to avoid duplicating config files. -->
+ <math.parent.dir>${basedir}/../..</math.parent.dir>
+ </properties>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-math4-ga</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>info.picocli</groupId>
+ <artifactId>picocli</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jfree</groupId>
+ <artifactId>jfreechart</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ </dependency>
+
+ </dependencies>
+
+ <modules>
+ <module>examples-ga-math-functions</module>
+ <module>examples-ga-math-functions-adaptive</module>
+ <module>examples-ga-math-functions-legacy</module>
+ <module>examples-ga-tsp</module>
+ <module>examples-ga-tsp-legacy</module>
+ </modules>
+
+</project>
diff --git a/commons-math-examples/pom.xml b/commons-math-examples/pom.xml
index 96be12a..d6eabf2 100644
--- a/commons-math-examples/pom.xml
+++ b/commons-math-examples/pom.xml
@@ -52,6 +52,9 @@
<math.rng.version>1.4</math.rng.version>
<math.geometry.version>1.0</math.geometry.version>
<math.imaging.version>1.0-alpha3-SNAPSHOT</math.imaging.version>
+ <math.slf4j.version>1.7.32</math.slf4j.version>
+ <math.jfreechart.version>1.5.3</math.jfreechart.version>
+ <math.csv.version>1.9.0</math.csv.version>
<!-- Disable JApiCmp failures (but keep the report). The examples API is allowed to change. -->
<commons.japicmp.breakBuildOnBinaryIncompatibleModifications>false</commons.japicmp.breakBuildOnBinaryIncompatibleModifications>
@@ -110,7 +113,26 @@
<version>${math.picocli.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ <version>${math.slf4j.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jfree</groupId>
+ <artifactId>jfreechart</artifactId>
+ <version>${math.jfreechart.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-csv</artifactId>
+ <version>${math.csv.version}</version>
+ </dependency>
+
</dependencies>
+
</dependencyManagement>
<build>
diff --git a/commons-math-ga/pom.xml b/commons-math-ga/pom.xml
index a2a3689..eddae3c 100644
--- a/commons-math-ga/pom.xml
+++ b/commons-math-ga/pom.xml
@@ -1,54 +1,64 @@
-<?xml version="1.0"?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
- license agreements. See the NOTICE file distributed with this work for additional
- information regarding copyright ownership. The ASF licenses this file to
- You under the Apache License, Version 2.0 (the "License"); you may not use
- this file except in compliance with the License. You may obtain a copy of
- the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
- by applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
- OF ANY KIND, either express or implied. See the License for the specific
- language governing permissions and limitations under the License. -->
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-math-parent</artifactId>
- <version>4.0-SNAPSHOT</version>
- </parent>
- <artifactId>commons-math-ga</artifactId>
- <name>genetic algorithm</name>
-
- <description />
-
- <properties>
- <!-- The Java Module System Name -->
- <commons.module.name>org.apache.commons.math4.ga</commons.module.name>
- <!-- This value must reflect the current name of the base package. -->
- <commons.osgi.symbolicName>org.apache.commons.math4.ga</commons.osgi.symbolicName>
- <!-- OSGi -->
- <commons.osgi.export>org.apache.commons.math4.ga</commons.osgi.export>
- <!-- Workaround to avoid duplicating config files. -->
- <math.parent.dir>${basedir}/..</math.parent.dir>
- <slf4jVersion>1.7.32</slf4jVersion>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-numbers-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-rng-simple</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>${slf4jVersion}</version>
- </dependency>
- </dependencies>
-
-</project>
\ No newline at end of file
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-math-parent</artifactId>
+ <version>4.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>commons-math4-ga</artifactId>
+ <name>Genetic Algorithms</name>
+
+ <description>Genetic Algorithms</description>
+
+ <properties>
+ <!-- The Java Module System Name -->
+ <commons.module.name>org.apache.commons.math4.ga</commons.module.name>
+ <!-- This value must reflect the current name of the base package. -->
+ <commons.osgi.symbolicName>org.apache.commons.math4.ga</commons.osgi.symbolicName>
+ <!-- OSGi -->
+ <commons.osgi.export>org.apache.commons.math4.ga</commons.osgi.export>
+ <!-- Workaround to avoid duplicating config files. -->
+ <math.parent.dir>${basedir}/..</math.parent.dir>
+ <math.slf4j.version>1.7.32</math.slf4j.version>
+ </properties>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-numbers-core</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-rng-simple</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>${math.slf4j.version}</version>
+ </dependency>
+
+ </dependencies>
+
+</project>