You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kw...@apache.org on 2022/11/11 15:02:44 UTC

[maven-parent] branch feature/enable-reporting-during-release created (now b5d1e5d)

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

kwin pushed a change to branch feature/enable-reporting-during-release
in repository https://gitbox.apache.org/repos/asf/maven-parent.git


      at b5d1e5d  [MPOM-358] Activate "reporting" profile during releases

This branch includes the following new commits:

     new b5d1e5d  [MPOM-358] Activate "reporting" profile during releases

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-parent] 01/01: [MPOM-358] Activate "reporting" profile during releases

Posted by kw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch feature/enable-reporting-during-release
in repository https://gitbox.apache.org/repos/asf/maven-parent.git

commit b5d1e5daf0863ca5c1e64fe61a8c2c6f23124e5e
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Thu Nov 10 19:16:19 2022 +0100

    [MPOM-358] Activate "reporting" profile during releases
    
    Only activate m-project-info-reports-p reports during "reporting"
    profile
---
 pom.xml | 39 +++++++++++++++++++++++++--------------
 1 file changed, 25 insertions(+), 14 deletions(-)

diff --git a/pom.xml b/pom.xml
index 44d8342..1aca848 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1080,6 +1080,7 @@ under the License.
           <artifactId>maven-release-plugin</artifactId>
           <configuration>
             <autoVersionSubmodules>true</autoVersionSubmodules>
+            <releaseProfiles>apache-release,reporting</releaseProfiles>
           </configuration>
         </plugin>
         <plugin>
@@ -1212,21 +1213,8 @@ under the License.
         <reportSets>
           <reportSet>
             <reports>
+              <!-- only generate index by default, all other reports only active with profile "reporting" -->
               <report>index</report>
-              <report>summary</report>
-              <report>dependency-info</report>
-              <report>modules</report>
-              <report>team</report>
-              <report>scm</report>
-              <report>issue-management</report>
-              <report>mailing-lists</report>
-              <report>dependency-management</report>
-              <report>dependencies</report>
-              <report>dependency-convergence</report>
-              <report>ci-management</report>
-              <report>plugin-management</report>
-              <report>plugins</report>
-              <report>distribution-management</report>
             </reports>
           </reportSet>
         </reportSets>
@@ -1346,6 +1334,29 @@ under the License.
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-project-info-reports-plugin</artifactId>
+            <reportSets>
+              <reportSet>
+                <id>default</id>
+                <!-- all reports relevant -->
+                <reports>
+                  <report>index</report>
+                  <report>summary</report>
+                  <report>dependency-info</report>
+                  <report>modules</report>
+                  <report>team</report>
+                  <report>scm</report>
+                  <report>issue-management</report>
+                  <report>mailing-lists</report>
+                  <report>dependency-management</report>
+                  <report>dependencies</report>
+                  <report>dependency-convergence</report>
+                  <report>ci-management</report>
+                  <report>plugin-management</report>
+                  <report>plugins</report>
+                  <report>distribution-management</report>
+                </reports>
+              </reportSet>
+            </reportSets>
           </plugin>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>