[ https://jira.codehaus.org/browse/MCHANGES-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=275363#comment-275363 ]
Louis Jacomet commented on MCHANGES-233: ---------------------------------------- Hi, We are facing a similar issue on my current project. We are using the changes plugin and Jira, generating announcements. We want to generate an announcement for every build we do on the continuous integration server. But we do not want to have a build fail because there is no issue with a configured status associated with the release. As indeed the plugin fails not because the release does not exist in Jira, just that no issue matching the criteria (fixVersion and status) refers to the specific release. Which makes supporting the SNAPSHOT qualifier weird, as when a new SNAPSHOT version is created it might not have any solved release immediately. In order to solve the issue, I am modifying the plugin to support an attribute "allowEmptyAnnouncement". Based on this attribute, I intend to have the ReleaseUtils.getLatestRelease either throw the exception, or create an empty release with no actions associated. I intend to post the diff once done and tested. However, I did not consider the other possible usage of this plugin, so the solution will be partial. > Add option to skip announcement if there are no changes or changes.xml file > is missing > -------------------------------------------------------------------------------------- > > Key: MCHANGES-233 > URL: https://jira.codehaus.org/browse/MCHANGES-233 > Project: Maven 2.x Changes Plugin > Issue Type: Improvement > Components: changes.xml > Affects Versions: 2.4 > Reporter: Ivan Khalopik > > It will be good to have some option to skip announcement generation if there > are no changes for artifact. Now if there are no changes build fails with > error: > No releases found in any of the configured issue management systems. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira