[ https://jira.codehaus.org/browse/MCHANGES-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=340433#comment-340433 ]
Anthony Whitford commented on MCHANGES-307: ------------------------------------------- I might be getting this issue too with Jira 6.1.5: {noformat} [INFO] Generating "JIRA Report" report --- maven-changes-plugin:2.9 [WARNING] org.apache.maven.plugin.MojoFailureException: Could not find status Resolved. at org.apache.maven.plugin.jira.RestJiraDownloader.resolveOneItem(RestJiraDownloader.java:259) at org.apache.maven.plugin.jira.RestJiraDownloader.resolveList(RestJiraDownloader.java:240) at org.apache.maven.plugin.jira.RestJiraDownloader.resolveIds(RestJiraDownloader.java:206) at org.apache.maven.plugin.jira.RestJiraDownloader.doExecute(RestJiraDownloader.java:128) at org.apache.maven.plugin.jira.AdaptiveJiraDownloader.doExecute(AdaptiveJiraDownloader.java:47) at org.apache.maven.plugin.jira.JiraMojo.executeReport(JiraMojo.java:367) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:190) at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:219) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:319) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:135) at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:175) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:138) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) {noformat} Note that I don't see the extra space being an issue... My pom configuration looks like: {code:xml} <configuration> <jiraUser>XXX</jiraUser> <jiraPassword>XXXX</jiraPassword> <maxEntries>500</maxEntries> <onlyCurrentVersion>true</onlyCurrentVersion> <statusIds>Resolved,Closed</statusIds> <useJql>true</useJql> </configuration> <reportSets> <reportSet> <reports> <report>jira-report</report> </reports> </reportSet> </reportSets> {code} > Check for whitespace on fixVersionIds and statusIds > --------------------------------------------------- > > Key: MCHANGES-307 > URL: https://jira.codehaus.org/browse/MCHANGES-307 > Project: Maven Changes Plugin > Issue Type: Bug > Components: jira > Affects Versions: 2.9 > Reporter: Tobias Rübner > Attachments: MCHANGES-307.patch > > > On the configuration of the maven changes plugin for the jira-report there > are some configuration parameters that do not like whitespace. > I think this will include component, fixVersionIds, statusIds, resolutionIds, > typeIds and priorityIds. > The report generation will fail with the follwing error: > {code} > org.apache.maven.plugin.MojoFailureException: Could not find status Closed. > at > org.apache.maven.plugin.jira.RestJiraDownloader.resolveOneItem(RestJiraDownloader.java:268) > at > org.apache.maven.plugin.jira.RestJiraDownloader.resolveList(RestJiraDownloader.java:249) > at > org.apache.maven.plugin.jira.RestJiraDownloader.resolveIds(RestJiraDownloader.java:214) > at > org.apache.maven.plugin.jira.RestJiraDownloader.doExecute(RestJiraDownloader.java:129) > at > org.apache.maven.plugin.jira.AdaptiveJiraDownloader.doExecute(AdaptiveJiraDownloader.java:47) > at > org.apache.maven.plugin.jira.JiraMojo.executeReport(JiraMojo.java:367) > ... > {code} > Note the leading whitespace that came through the definition in the pom file. > {code} > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-changes-plugin</artifactId> > <configuration> > <useJql>true</useJql> > <jiraUser>${jira.user}</jiraUser> > <jiraPassword>${jira.password}</jiraPassword> > <onlyCurrentVersion>true</onlyCurrentVersion> > <resolutionIds>Fixed</resolutionIds> > <statusIds>Resolved, Closed</statusIds> > </configuration> > <reportSets> > <reportSet> > <reports> > <report>jira-report</report> > </reports> > </reportSet> > </reportSets> > </plugin> > {code} > I possible solution could be to trim the whitespace. -- This message was sent by Atlassian JIRA (v6.1.6#6162)