maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r1577308 - /maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/announcement/AnnouncementMojo.java
Date Thu, 13 Mar 2014 20:38:21 GMT
Author: dennisl
Date: Thu Mar 13 20:38:20 2014
New Revision: 1577308

URL: http://svn.apache.org/r1577308
Log:
[MCHANGES-292] announcement-generate goal doesn't respect useJql parameter

Modified:
    maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/announcement/AnnouncementMojo.java

Modified: maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/announcement/AnnouncementMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/announcement/AnnouncementMojo.java?rev=1577308&r1=1577307&r2=1577308&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/announcement/AnnouncementMojo.java
(original)
+++ maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/announcement/AnnouncementMojo.java
Thu Mar 13 20:38:20 2014
@@ -201,6 +201,16 @@ public class AnnouncementMojo
     private String templateEncoding;
 
     /**
+     * Use the JIRA query language instead of the JIRA query based on HTTP parameters.
+     * From JIRA 5.1 and up only JQL is supported. JIRA 4.4 supports both JQL and URL parameter
based queries.
+     * From 5.1.1 this is obsolete, since REST queries only use JQL.
+     *
+     * @since 2.10
+     */
+    @Parameter( property = "changes.useJql", defaultValue = "false" )
+    private boolean useJql;
+
+    /**
      * Distribution URL of the artifact.
      * This parameter will be passed to the template.
      */
@@ -716,6 +726,8 @@ public class AnnouncementMojo
 
         jiraDownloader.setJiraPassword( jiraPassword );
 
+        jiraDownloader.setUseJql( useJql );
+
         jiraDownloader.setWebUser( webUser );
 
         jiraDownloader.setWebPassword( webPassword );



Mime
View raw message