Customise jira report.
Removed duplicate configuration from commons-parent.
Jira report for modules to only include those tickets using the
component tag.
diff --git a/commons-rng-client-api/pom.xml b/commons-rng-client-api/pom.xml
index 3aa3ebe..83cd518 100644
--- a/commons-rng-client-api/pom.xml
+++ b/commons-rng-client-api/pom.xml
@@ -40,6 +40,7 @@
<!-- Workaround to avoid duplicating config files. -->
<rng.parent.dir>${basedir}/..</rng.parent.dir>
<commons.release.isDistModule>false</commons.release.isDistModule>
+ <rng.jira.component>client-api</rng.jira.component>
</properties>
<profiles>
diff --git a/commons-rng-core/pom.xml b/commons-rng-core/pom.xml
index cd1d720..a568811 100644
--- a/commons-rng-core/pom.xml
+++ b/commons-rng-core/pom.xml
@@ -43,6 +43,7 @@
<commons.automatic.module.name>org.apache.commons.rng.core</commons.automatic.module.name>
<!-- Workaround to avoid duplicating config files. -->
<rng.parent.dir>${basedir}/..</rng.parent.dir>
+ <rng.jira.component>core</rng.jira.component>
</properties>
<dependencies>
diff --git a/commons-rng-examples/pom.xml b/commons-rng-examples/pom.xml
index ca25553..28a280a 100644
--- a/commons-rng-examples/pom.xml
+++ b/commons-rng-examples/pom.xml
@@ -52,6 +52,7 @@
<!-- Disable JApiCmp failures (but keep the report). The examples API is allowed to change. -->
<commons.japicmp.breakBuildOnBinaryIncompatibleModifications>false</commons.japicmp.breakBuildOnBinaryIncompatibleModifications>
<commons.japicmp.breakBuildOnSourceIncompatibleModifications>false</commons.japicmp.breakBuildOnSourceIncompatibleModifications>
+ <rng.jira.component>examples</rng.jira.component>
</properties>
<dependencyManagement>
diff --git a/commons-rng-sampling/pom.xml b/commons-rng-sampling/pom.xml
index 90538c5..495045f 100644
--- a/commons-rng-sampling/pom.xml
+++ b/commons-rng-sampling/pom.xml
@@ -40,6 +40,7 @@
<commons.automatic.module.name>org.apache.commons.rng.sampling</commons.automatic.module.name>
<!-- Workaround to avoid duplicating config files. -->
<rng.parent.dir>${basedir}/..</rng.parent.dir>
+ <rng.jira.component>sampling</rng.jira.component>
</properties>
<dependencies>
diff --git a/commons-rng-simple/pom.xml b/commons-rng-simple/pom.xml
index 71cbc5f..14134eb 100644
--- a/commons-rng-simple/pom.xml
+++ b/commons-rng-simple/pom.xml
@@ -40,6 +40,7 @@
<commons.automatic.module.name>org.apache.commons.rng.simple</commons.automatic.module.name>
<!-- Workaround to avoid duplicating config files. -->
<rng.parent.dir>${basedir}/..</rng.parent.dir>
+ <rng.jira.component>simple</rng.jira.component>
</properties>
<dependencies>
diff --git a/pom.xml b/pom.xml
index 8d8f8b6..02f4788 100644
--- a/pom.xml
+++ b/pom.xml
@@ -98,6 +98,9 @@
<!-- Workaround to avoid the SVN site checkout in all modules.
This flag should be deactivated by child modules. -->
<perform.site.checkout>true</perform.site.checkout>
+
+ <!-- Set by modules to create a custom jira report -->
+ <rng.jira.component></rng.jira.component>
</properties>
<modules>
@@ -298,28 +301,12 @@
<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>${rng.jira.component}</component>
</configuration>
- <reportSets>
- <reportSet>
- <reports>
- <report>changes-report</report>
- <report>jira-report</report>
- </reports>
- </reportSet>
- </reportSets>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>