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

tballison pushed a commit to branch branch_3x
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/branch_3x by this push:
     new d6cc5137d4 Prep for 3.3.2 rc1, javadocs
d6cc5137d4 is described below

commit d6cc5137d47a139c8329433c58cb0c71ed963002
Author: tallison <[email protected]>
AuthorDate: Thu Jul 16 12:57:12 2026 -0400

    Prep for 3.3.2 rc1, javadocs
---
 tika-parent/pom.xml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/tika-parent/pom.xml b/tika-parent/pom.xml
index 05909e6a30..c0bc16d5ab 100644
--- a/tika-parent/pom.xml
+++ b/tika-parent/pom.xml
@@ -1544,6 +1544,22 @@
               
<sourcepath>tika-app/src/main/java;tika-batch/src/main/java;tika-core/src/main/java;tika-detectors/tika-detector-magika/src/main/java;tika-detectors/tika-detector-siegfried/src/main/java;tika-dotnet/src/main/java;tika-eval/tika-eval-app/src/main/java;tika-eval/tika-eval-core/src/main/java;tika-example/src/main/java;tika-fuzzing/src/main/java;tika-handlers/tika-handler-boilerpipe/src/main/java;tika-java7/src/main/java;tika-langdetect/tika-langdetect-lingo24/src/main/java;tik
 [...]
               <subpackages>org.apache.tika</subpackages>
             </configuration>
+            <executions>
+              <!-- The multi-root <sourcepath> above targets javadoc:aggregate 
(run from the reactor
+                   root). The per-module attach-javadocs jar must use its OWN 
source root instead, or the
+                   plugin falls into JPMS/modular mode (Automatic-Module-Name, 
no module-info) and aborts
+                   with "No source files for package ...". Scope the correct 
per-module sourcepath here. -->
+              <execution>
+                <id>attach-javadocs</id>
+                <configuration>
+                  <sourcepath>${project.basedir}/src/main/java</sourcepath>
+                  <!-- cancel the inherited aggregate <subpackages>: source 
modules auto-detect from the
+                       sourcepath above; source-less jar modules (shade 
"-package"/integration tests) then
+                       skip javadoc instead of failing "No source files for 
package org.apache.tika". -->
+                  <subpackages combine.self="override"></subpackages>
+                </configuration>
+              </execution>
+            </executions>
           </plugin>
         </plugins>
       </build>

Reply via email to