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

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


The following commit(s) were added to refs/heads/main by this push:
     new 81b3374a9 fix issue with javadoc TIKA-4318 (#2222)
81b3374a9 is described below

commit 81b3374a9a76d238143e98c2936d6880a7d7db5b
Author: Nicholas DiPiazza <[email protected]>
AuthorDate: Wed May 28 15:37:47 2025 -0500

    fix issue with javadoc TIKA-4318 (#2222)
    
    Co-authored-by: Nicholas DiPiazza <[email protected]>
---
 tika-grpc/pom.xml | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/tika-grpc/pom.xml b/tika-grpc/pom.xml
index 67f14f351..a738c2393 100644
--- a/tika-grpc/pom.xml
+++ b/tika-grpc/pom.xml
@@ -38,9 +38,6 @@
     <asarkar-grpc-test.version>2.0.0</asarkar-grpc-test.version>
     <awaitility.version>4.3.0</awaitility.version>
     <j2objc-annotations.version>3.0.0</j2objc-annotations.version>
-    <!-- javadocs doesn't build for generated code in release:perform, but
-         appears to work generally :/ -->
-    <maven.javadoc.skip>true</maven.javadoc.skip>
   </properties>
 
   <dependencyManagement>
@@ -253,6 +250,17 @@
       </extension>
     </extensions>
     <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>${maven.javadoc.version}</version>
+        <configuration>
+          <doclint>none</doclint>
+          <sourcepath>src/main/java</sourcepath>
+          
<sourcepath>${project.build.directory}/generated-sources/protobuf/grpc-java</sourcepath>
+          
<sourcepath>${project.build.directory}/generated-sources/protobuf/java</sourcepath>
+        </configuration>
+      </plugin>
       <plugin>
         <groupId>org.xolstice.maven.plugins</groupId>
         <artifactId>protobuf-maven-plugin</artifactId>

Reply via email to