}
protected List<Release> getJiraReleases()
throws MojoExecutionException
{
AbstractJiraDownloader jiraDownloader = new AdaptiveJiraDownloader();
File jiraXMLFile = jiraXML;
jiraDownloader.setLog( getLog() );
jiraDownloader.setOutput( jiraXMLFile );
jiraDownloader.setStatusIds( statusIds );
jiraDownloader.setResolutionIds( resolutionIds );
jiraDownloader.setMavenProject( project );
jiraDownloader.setSettings( settings );
jiraDownloader.setNbEntries( maxEntries );
jiraDownloader.setFilter( filter );
jiraDownloader.setJiraUser( jiraUser );
jiraDownloader.setJiraPassword( jiraPassword );
jiraDownloader.setUseJql( useJql );
jiraDownloader.setWebUser( webUser );
jiraDownloader.setWebPassword( webPassword );
jiraDownloader.setConnectionTimeout( jiraConnectionTimeout );
jiraDownloader.setReceiveTimout( jiraReceiveTimout );
try
{
jiraDownloader.doExecute();
List<Issue> issueList = jiraDownloader.getIssueList();
if ( StringUtils.isNotEmpty( versionPrefix ) )
{
int originalNumberOfIssues = issueList.size();
issueList = IssueUtils.filterIssuesWithVersionPrefix( issueList, versionPrefix );