commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Barger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RNG-7) Generation of JIRA report fails
Date Mon, 22 Aug 2016 15:06:20 GMT

    [ https://issues.apache.org/jira/browse/RNG-7?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15430941#comment-15430941
] 

Artem Barger commented on RNG-7:
--------------------------------

Not sure, why you cannot see it. Created a new branch RNG-7a, here how diff looks like for
me:

{noformat}
commit 7adc34e836d3f65f7477c0fe1478d8cf4dae58c8
Author: Artem Barger <artem@bargr.net>
Date:   Mon Aug 22 11:10:55 2016 +0300

    Make mvn site, produce valid JIRA report

diff --git a/pom.xml b/pom.xml
index cca86f5..3c50831 100644
--- a/pom.xml
+++ b/pom.xml
@@ -320,21 +320,19 @@
         <artifactId>maven-changes-plugin</artifactId>
         <version>${commons.changes.version}</version>
         <configuration>
-          <issueLinkTemplatePerSystem>
-            <default>%URL%/%ISSUE%</default>
-          </issueLinkTemplatePerSystem>
-          <!--  Add sample JIRA report - 'mvn changes:jira-report' or 'mvn site' -->
-          <onlyCurrentVersion>false</onlyCurrentVersion>
-          <columnNames>Fix Version,Key,Summary,Type,Resolution,Status</columnNames>
-          <!-- Sort cols have to be reversed in JIRA 4 -->
-          <sortColumnNames>Key DESC,Type,Fix Version DESC</sortColumnNames>
+          <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</resolutionIds>
           <statusIds>Resolved,Closed</statusIds>
           <!-- Don't include sub-task -->
           <typeIds>Bug,New Feature,Task,Improvement,Wish,Test</typeIds>
-          <fixVersionIds>${commons.release.version}</fixVersionIds>
-          <!-- The default is 100 -->
-          <maxEntries>100</maxEntries>
+          <!-- For JIRA >= 5.1 -->
+          <useJql>true</useJql>
+          <onlyCurrentVersion>${commons.changes.onlyCurrentVersion}</onlyCurrentVersion>
+          <maxEntries>${commons.changes.maxEntries}</maxEntries>
+          <runOnlyAtExecutionRoot>${commons.changes.runOnlyAtExecutionRoot}</runOnlyAtExecutionRoot>
         </configuration>
         <reportSets>
           <reportSet>
{noformat}

> Generation of JIRA report fails
> -------------------------------
>
>                 Key: RNG-7
>                 URL: https://issues.apache.org/jira/browse/RNG-7
>             Project: Commons RNG
>          Issue Type: Sub-task
>            Reporter: Gilles
>             Fix For: 1.0
>
>         Attachments: JIRA report.png
>
>
> Command
> {noformat}
> $ mvn site
> {noformat}
> fails to generate the JIRA report.
> Site page contains the following text:
> {noformat}
> An error occurred that made it impossible to generate this report. Please check the console
for information on what might be the cause of this.
> {noformat}
> But the console does not show any error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message