You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2022/01/18 18:00:20 UTC

[commons-math] branch master updated (d81b5e9 -> f4bc2a4)

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git.


    from d81b5e9  Replace "CMAESOptimizer.Sigma" with "Sigma".
     new 2a1da68  Remove examples and correct artifact ids in dist-archive
     new 916a7d0  Add a release profile
     new f4bc2a4  Do not perform site checkout by default

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 dist-archive/pom.xml | 42 +++++++++++++++++++++---------------------
 pom.xml              | 32 ++++++++++++++++++++++++--------
 2 files changed, 45 insertions(+), 29 deletions(-)

[commons-math] 01/03: Remove examples and correct artifact ids in dist-archive

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git

commit 2a1da68177dbd5bf25250dd15b95603116b266b3
Author: aherbert <ah...@apache.org>
AuthorDate: Tue Jan 18 17:34:57 2022 +0000

    Remove examples and correct artifact ids in dist-archive
---
 dist-archive/pom.xml | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/dist-archive/pom.xml b/dist-archive/pom.xml
index ad71591..4c6846d 100644
--- a/dist-archive/pom.xml
+++ b/dist-archive/pom.xml
@@ -65,18 +65,18 @@ under the License.
         <!-- Module: Legacy -->
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-legacy</artifactId>
+          <artifactId>commons-math4-legacy</artifactId>
           <version>${project.version}</version>
         </dependency>
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-legacy</artifactId>
+          <artifactId>commons-math4-legacy</artifactId>
           <version>${project.version}</version>
           <classifier>sources</classifier>
         </dependency>
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-legacy</artifactId>
+          <artifactId>commons-math4-legacy</artifactId>
           <version>${project.version}</version>
           <classifier>javadoc</classifier>
         </dependency>
@@ -84,18 +84,18 @@ under the License.
         <!-- Module: ANN -->
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-neuralnet</artifactId>
+          <artifactId>commons-math4-neuralnet</artifactId>
           <version>${project.version}</version>
         </dependency>
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-neuralnet</artifactId>
+          <artifactId>commons-math4-neuralnet</artifactId>
           <version>${project.version}</version>
           <classifier>sources</classifier>
         </dependency>
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-neuralnet</artifactId>
+          <artifactId>commons-math4-neuralnet</artifactId>
           <version>${project.version}</version>
           <classifier>javadoc</classifier>
         </dependency>
@@ -103,75 +103,75 @@ under the License.
         <!-- Module: Transforms -->
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-transform</artifactId>
+          <artifactId>commons-math4-transform</artifactId>
           <version>${project.version}</version>
         </dependency>
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-transform</artifactId>
+          <artifactId>commons-math4-transform</artifactId>
           <version>${project.version}</version>
           <classifier>sources</classifier>
         </dependency>
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-transform</artifactId>
+          <artifactId>commons-math4-transform</artifactId>
           <version>${project.version}</version>
           <classifier>javadoc</classifier>
         </dependency>
 
-        <!-- Module: Examples -->
+        <!-- Module: Exception (legacy) -->
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-examples</artifactId>
+          <artifactId>commons-math4-legacy-exception</artifactId>
           <version>${project.version}</version>
         </dependency>
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-examples</artifactId>
+          <artifactId>commons-math4-legacy-exception</artifactId>
           <version>${project.version}</version>
           <classifier>sources</classifier>
         </dependency>
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-examples</artifactId>
+          <artifactId>commons-math4-legacy-exception</artifactId>
           <version>${project.version}</version>
           <classifier>javadoc</classifier>
         </dependency>
 
-        <!-- Module: Exception (legacy) -->
+        <!-- Module: Core (legacy) -->
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-legacy-exception</artifactId>
+          <artifactId>commons-math4-legacy-core</artifactId>
           <version>${project.version}</version>
         </dependency>
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-legacy-exception</artifactId>
+          <artifactId>commons-math4-legacy-core</artifactId>
           <version>${project.version}</version>
           <classifier>sources</classifier>
         </dependency>
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-legacy-exception</artifactId>
+          <artifactId>commons-math4-legacy-core</artifactId>
           <version>${project.version}</version>
           <classifier>javadoc</classifier>
         </dependency>
 
-        <!-- Module: Core (legacy) -->
+        <!-- Module: Legacy -->
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-legacy-core</artifactId>
+          <artifactId>commons-math4-legacy</artifactId>
           <version>${project.version}</version>
         </dependency>
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-legacy-core</artifactId>
+          <artifactId>commons-math4-legacy</artifactId>
           <version>${project.version}</version>
           <classifier>sources</classifier>
         </dependency>
         <dependency>
           <groupId>org.apache.commons</groupId>
-          <artifactId>commons-math-legacy-core</artifactId>
+          <artifactId>commons-math4-legacy</artifactId>
           <version>${project.version}</version>
           <classifier>javadoc</classifier>
         </dependency>

[commons-math] 03/03: Do not perform site checkout by default

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git

commit f4bc2a48cee96af77b4ea6c5a26b18412b4172a0
Author: aherbert <ah...@apache.org>
AuthorDate: Tue Jan 18 17:55:15 2022 +0000

    Do not perform site checkout by default
---
 pom.xml | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/pom.xml b/pom.xml
index 70019ee..d763cb5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -640,13 +640,9 @@
     </profile>
     <profile>
       <!-- Runs if the SVN site checkout does not exist.
-           This is either obtained using svn (for the parent) or an empty directory is created. -->
-      <id>setup-checkout</id>
-      <activation>
-        <file>
-          <missing>${commons.scmPubCheckoutDirectory}</missing>
-        </file>
-      </activation>
+           This is either obtained using svn (for the parent) or an empty directory is created. 
+           The site-content directory is used when updating the live site. -->
+      <id>site-checkout</id>
       <build>
         <plugins>
           <plugin>
@@ -701,7 +697,7 @@ This is avoided by creating an empty directory when svn is not available.
     </profile>
     <profile>
       <!-- Allow the SVN site checkout to be removed in the clean phase. -->
-      <id>clean-checkout</id>
+      <id>clean-site-checkout</id>
       <activation>
         <file>
           <exists>${commons.scmPubCheckoutDirectory}</exists>

[commons-math] 02/03: Add a release profile

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git

commit 916a7d0c149b4f7f7018b5055c447c51ce153992
Author: aherbert <ah...@apache.org>
AuthorDate: Tue Jan 18 17:35:17 2022 +0000

    Add a release profile
---
 pom.xml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/pom.xml b/pom.xml
index c618f11..70019ee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -844,6 +844,26 @@ This is avoided by creating an empty directory when svn is not available.
         </plugins>
       </build>
     </profile>
+
+    <profile>
+      <id>release</id>
+      <modules> <!-- Do not change the ordering of the 4 blocks below. -->
+
+        <!-- 1. Modules that do not depend on "legacy" codes. -->
+        <module>commons-math-core</module>
+        <module>commons-math-neuralnet</module>
+        <module>commons-math-transform</module>
+
+        <!-- 2. Modularized (but not refactored) legacy functionalities. -->
+        <module>commons-math-legacy-exception</module>
+        <module>commons-math-legacy-core</module>
+
+        <!-- 3. Non-modularized legacy functionalities. -->
+        <module>commons-math-legacy</module>
+
+        <module>dist-archive</module>
+      </modules>
+    </profile>
   </profiles>
 
   <developers>