elharo commented on code in PR #91:
URL: 
https://github.com/apache/maven-changes-plugin/pull/91#discussion_r1868428823


##########
src/main/java/org/apache/maven/plugins/changes/announcement/AnnouncementMojo.java:
##########
@@ -665,6 +676,12 @@ protected List<Release> getJiraReleases() throws 
MojoExecutionException {
                         + " that matched the versionPrefix '" + versionPrefix 
+ "'.");
             }
 
+            if (onlyCurrentVersion) {
+                String version = (versionPrefix == null ? "" : versionPrefix) 
+ project.getVersion();
+                issueList = IssueUtils.getIssuesForVersion(issueList, version);
+                getLog().info("The JIRA Report will contain issues only for 
the current version.");

Review Comment:
   I'm not sure I follow. Is this message going directly into the report or is 
it on the console when the report generation runs?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to