org.apache.maven.plugin.jira
Class JiraReportGenerator
java.lang.Object
org.apache.maven.plugin.jira.JiraReportGenerator
public class JiraReportGenerator
- extends Object
Generates a JIRA report.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraReportGenerator
public JiraReportGenerator()
JiraReportGenerator
public JiraReportGenerator(File xmlFile,
String columnNames,
String currentVersion,
boolean onlyCurrentVersion)
throws org.apache.maven.reporting.MavenReportException
- Parameters:
xmlFile
- An xml file containing issues from JIRAcolumnNames
- The names of the columns to include in the reportcurrentVersion
- The current version of the projectonlyCurrentVersion
- If only issues for the current version will be included in the report
- Throws:
org.apache.maven.reporting.MavenReportException
doGenerateEmptyReport
public void doGenerateEmptyReport(ResourceBundle bundle,
org.apache.maven.doxia.sink.Sink sink)
doGenerateReport
public void doGenerateReport(ResourceBundle bundle,
org.apache.maven.doxia.sink.Sink sink,
org.apache.maven.plugin.logging.Log log)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getIssuesForCurrentRelease
public List getIssuesForCurrentRelease(List allIssues)
throws org.apache.maven.plugin.MojoExecutionException
- Find the issues for only the current release, by matching the "Fix for"
version in the supplied list of issues with the current version from the
pom. If the current version is a SNAPSHOT, then that part of the version
will be removed prior to the matching.
- Parameters:
allIssues
- A list of all issues from JIRA
- Returns:
- A
List
of issues for the current release of the current project
- Throws:
org.apache.maven.plugin.MojoExecutionException
- If no issues could be found for the current release
Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.