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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new eecd423  Don't fork maven-jxr-plugin as it breaks in multi-module 
builds
eecd423 is described below

commit eecd423c28f26884e5ad9a6820f567167237f298
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Feb 2 11:11:01 2025 -0500

    Don't fork maven-jxr-plugin as it breaks in multi-module builds
---
 pom.xml                 | 9 +++++++++
 src/changes/changes.xml | 1 +
 2 files changed, 10 insertions(+)

diff --git a/pom.xml b/pom.xml
index 7f68c68..94d3256 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1126,6 +1126,15 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jxr-plugin</artifactId>
         <version>${commons.jxr.version}</version>
+        <reportSets>
+          <reportSet>
+            <reports>
+              <!-- Forking causes errors in multi-module builds. -->
+              <report>jxr-no-fork</report>
+              <report>test-jxr-no-fork</report>
+            </reports>
+          </reportSet>
+        </reportSets>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index fa7bb9e..b827682 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -59,6 +59,7 @@ The <action> type attribute can be add,update,fix,remove.
     <body>
       <release version="82" date="YYYY-MM-DD" description="Version 82: This is 
a feature and maintenance release. Java 8 or later is required.">
         <!-- FIX -->
+        <action type="fix" dev="ggregory" due-to="Gary Gregory">Don't fork 
maven-jxr-plugin as it breaks in multi-module builds.</action>
         <!-- ADD -->
         <!-- UPDATE -->
         <action type="update" dev="ggregory" due-to="Gary Gregory">Bump 
com.puppycrawl.tools:checkstyle from 10.21.1 to 10.21.2 on Java 11+.</action>

Reply via email to