You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2024/12/29 20:41:59 UTC

(maven-changes-plugin) 01/01: [MCHANGES-461] Use new report names in project build

This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch MCHANGES-461
in repository https://gitbox.apache.org/repos/asf/maven-changes-plugin.git

commit fc3e96828cca121df57a83bbf54a70bedcca187d
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sun Dec 29 21:41:43 2024 +0100

    [MCHANGES-461] Use new report names in project build
---
 pom.xml | 32 ++++++++++++++++++++------------
 1 file changed, 20 insertions(+), 12 deletions(-)

diff --git a/pom.xml b/pom.xml
index 62efd70..5d3730c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -374,6 +374,7 @@ under the License.
   </dependencies>
 
   <build>
+
     <pluginManagement>
       <plugins>
         <plugin>
@@ -385,8 +386,25 @@ under the License.
             </systemPropertyVariables>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-changes-plugin</artifactId>
+          <!--
+              Use the current version to generate sample with the last features/fixes of the plugin.
+              It implies that the current version is already deployed to generate the site.
+            -->
+          <version>${project.version}</version>
+          <configuration>
+            <!-- For Announcement -->
+            <issueManagementSystems>
+              <issueManagementSystem>JIRA</issueManagementSystem>
+            </issueManagementSystems>
+            <onlyCurrentVersion>true</onlyCurrentVersion>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
+
     <plugins>
       <plugin>
         <groupId>org.eclipse.sisu</groupId>
@@ -478,16 +496,7 @@ under the License.
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-changes-plugin</artifactId>
-            <!--
-              Use the current version to generate sample with the last features/fixes of the plugin.
-              It implies that the current version is already deployed to generate the site.
-            -->
-            <version>${project.version}</version>
             <configuration>
-              <!-- For Announcement -->
-              <issueManagementSystems>
-                <issueManagementSystem>JIRA</issueManagementSystem>
-              </issueManagementSystems>
               <!-- For (sample) Changes-report -->
               <issueLinkTemplatePerSystem>
                 <default>%URL%/%ISSUE%</default>
@@ -499,13 +508,12 @@ under the License.
               <onlyCurrentVersion>true</onlyCurrentVersion>
               <resolutionIds>Fixed</resolutionIds>
               <sortColumnNames>Type,Key</sortColumnNames>
-              <useJql>true</useJql>
             </configuration>
             <reportSets>
               <reportSet>
                 <reports>
-                  <report>changes-report</report>
-                  <report>jira-report</report>
+                  <report>changes</report>
+                  <report>jira-changes</report>
                 </reports>
               </reportSet>
             </reportSets>