[
https://jira.codehaus.org/browse/MCHANGES-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl-Heinz Marbaise updated MCHANGES-307:
-----------------------------------------
Fix Version/s: 2.11
> 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
> Fix For: 2.11
>
> 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)