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/10/13 12:42:51 UTC

[commons-math] 17/23: Update changes report configuration to allow component reports

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 86c703f3af09fbc7932cce32d5b1b3f418f65cff
Author: aherbert <ah...@apache.org>
AuthorDate: Thu Oct 13 13:08:39 2022 +0100

    Update changes report configuration to allow component reports
    
    Remove configuration that is a duplicate of commons-parent.
---
 commons-math-core/pom.xml             |  1 +
 commons-math-examples/pom.xml         |  1 +
 commons-math-legacy-core/pom.xml      |  1 +
 commons-math-legacy-exception/pom.xml |  1 +
 commons-math-legacy/pom.xml           |  1 +
 commons-math-neuralnet/pom.xml        |  1 +
 commons-math-transform/pom.xml        |  1 +
 pom.xml                               | 12 +++---------
 8 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/commons-math-core/pom.xml b/commons-math-core/pom.xml
index aaeb68e3c..f0e0b760b 100644
--- a/commons-math-core/pom.xml
+++ b/commons-math-core/pom.xml
@@ -40,6 +40,7 @@
     <commons.osgi.export>org.apache.commons.math4.core</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <math.parent.dir>${basedir}/..</math.parent.dir>
+    <math.jira.component>core</math.jira.component>
 
     <!-- Disable coverage checks in Travis -->
     <jacoco.skip>true</jacoco.skip>
diff --git a/commons-math-examples/pom.xml b/commons-math-examples/pom.xml
index 0b788eb40..b4ef6e47a 100644
--- a/commons-math-examples/pom.xml
+++ b/commons-math-examples/pom.xml
@@ -46,6 +46,7 @@
     <commons.automatic.module.name>org.apache.commons.math4.examples</commons.automatic.module.name>
     <!-- Workaround to avoid duplicating config files. -->
     <math.parent.dir>${basedir}/..</math.parent.dir>
+    <math.jira.component>examples</math.jira.component>
 
     <math.version>4.0-SNAPSHOT</math.version>
     <math.picocli.version>3.9.5</math.picocli.version>
diff --git a/commons-math-legacy-core/pom.xml b/commons-math-legacy-core/pom.xml
index 04b039e2e..b7809e900 100644
--- a/commons-math-legacy-core/pom.xml
+++ b/commons-math-legacy-core/pom.xml
@@ -40,6 +40,7 @@
     <commons.osgi.export>org.apache.commons.math4.legacy.core</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <math.parent.dir>${basedir}/..</math.parent.dir>
+    <math.jira.component>legacy-core</math.jira.component>
   </properties>
 
   <dependencies>
diff --git a/commons-math-legacy-exception/pom.xml b/commons-math-legacy-exception/pom.xml
index 6be98481a..8de5715dd 100644
--- a/commons-math-legacy-exception/pom.xml
+++ b/commons-math-legacy-exception/pom.xml
@@ -40,6 +40,7 @@
     <commons.osgi.export>org.apache.commons.math4.legacy.exception</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <math.parent.dir>${basedir}/..</math.parent.dir>
+    <math.jira.component>legacy-exception</math.jira.component>
   </properties>
 
   <dependencies>
diff --git a/commons-math-legacy/pom.xml b/commons-math-legacy/pom.xml
index 66673454f..7a55ef1d6 100644
--- a/commons-math-legacy/pom.xml
+++ b/commons-math-legacy/pom.xml
@@ -40,6 +40,7 @@
     <commons.osgi.export>org.apache.commons.math4.legacy</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <math.parent.dir>${basedir}/..</math.parent.dir>
+    <math.jira.component>legacy</math.jira.component>
   </properties>
 
   <dependencies>
diff --git a/commons-math-neuralnet/pom.xml b/commons-math-neuralnet/pom.xml
index 914d00796..373d3336c 100644
--- a/commons-math-neuralnet/pom.xml
+++ b/commons-math-neuralnet/pom.xml
@@ -40,6 +40,7 @@
     <commons.osgi.export>org.apache.commons.math4.neuralnet</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <math.parent.dir>${basedir}/..</math.parent.dir>
+    <math.jira.component>neuralnet</math.jira.component>
   </properties>
 
   <dependencies>
diff --git a/commons-math-transform/pom.xml b/commons-math-transform/pom.xml
index 4f0cad171..3e4877736 100644
--- a/commons-math-transform/pom.xml
+++ b/commons-math-transform/pom.xml
@@ -40,6 +40,7 @@
     <commons.osgi.export>org.apache.commons.math4.transform</commons.osgi.export>
     <!-- Workaround to avoid duplicating config files. -->
     <math.parent.dir>${basedir}/..</math.parent.dir>
+    <math.jira.component>transform</math.jira.component>
   </properties>
 
   <dependencies>
diff --git a/pom.xml b/pom.xml
index a6dfe9e9f..aa83b71b6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -104,6 +104,8 @@
          This flag should be deactivated by child modules. -->
     <perform.site.checkout>true</perform.site.checkout>
 
+    <!-- Set by modules to create a custom jira report -->
+    <math.jira.component />
   </properties>
 
   <modules> <!-- Do not change the ordering of the 4 blocks below. -->
@@ -468,19 +470,11 @@
         <artifactId>maven-changes-plugin</artifactId>
         <version>${commons.changes.version}</version>
         <configuration>
-          <xmlPath>${basedir}/src/changes/changes.xml</xmlPath>
-          <columnNames>Fix Version,Key,Component,Summary,Type,Resolution,Status</columnNames>
-          <!-- Sort cols in natural order when using JQL for JIRA 5.1 -->
-          <sortColumnNames>Fix Version DESC,Type,Key DESC</sortColumnNames>
           <resolutionIds>Fixed,Implemented</resolutionIds>
           <statusIds>Resolved,Closed</statusIds>
           <!-- Don't include sub-task -->
           <typeIds>Bug,New Feature,Task,Improvement,Wish,Test</typeIds>
-          <!-- For JIRA >= 5.1 -->
-          <useJql>true</useJql>
-          <onlyCurrentVersion>${commons.changes.onlyCurrentVersion}</onlyCurrentVersion>
-          <maxEntries>${commons.changes.maxEntries}</maxEntries>
-          <runOnlyAtExecutionRoot>${commons.changes.runOnlyAtExecutionRoot}</runOnlyAtExecutionRoot>
+          <component>${math.jira.component}</component>
         </configuration>
         <reportSets>
           <reportSet>