issueList = IssueUtils.getIssuesForVersion( issueList, project.getVersion() );
getLog().info( "The GitHub Report will contain issues only for the current version." );
}
// Generate the report
IssuesReportGenerator report = new IssuesReportGenerator( IssuesReportHelper.toIntArray( columnIds ) );
if ( issueList.isEmpty() )
{
report.doGenerateEmptyReport( getBundle( locale ), getSink() );
getLog().warn( "No issue was matched." );
}
else
{
report.doGenerateReport( getBundle( locale ), getSink(), issueList );
}
}
catch ( MalformedURLException e )
{
// Rethrow this error so that the build fails