[
https://issues.apache.org/jira/browse/TIKA-4318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17955020#comment-17955020
]
Tim Allison edited comment on TIKA-4318 at 5/29/25 6:14 PM:
------------------------------------------------------------
The workaround for 3.2.0:
1) take the grpc module off the pom (until we fix this: cannot access
com.google.errorprone.annotations.CheckReturnValue
> > > class file for com.google.errorprone.annotations.CheckReturnValue)
2) configure the javadoc plugin like so:
{noformat}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.version}</version>
<configuration>
<doclint>none</doclint>
</configuration>
</plugin>
{noformat}
3. run {{mvn clean javadoc:aggregate}}
I could get past the initial grpc problem by calling {{mvn clean package}} and
then javadoc:aggregate, but that builds jars, which (I'm guessing) starts
putting our automatic namespaces into play, and those aren't great, apparently,
with the plugin.
See the link via [~ndipiazza]:
https://issues.apache.org/jira/browse/MJAVADOC-764
I don't think versions matter (aside from java > 8), but this is what I had:
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: /apache/apache-maven-3.9.9
Java version: 11.0.24, vendor: Eclipse Adoptium, runtime:
/usr/lib/jvm/temurin-11-jdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "6.11.0-25-generic", arch: "amd64", family: "unix"
was (Author: [email protected]):
The workaround for 3.2.0:
1) take the grpc module off the pom (until we fix this: cannot access
com.google.errorprone.annotations.CheckReturnValue
> > > class file for com.google.errorprone.annotations.CheckReturnValue)
2) configure the javadoc plugin like so:
{noformat}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.version}</version>
<configuration>
<doclint>none</doclint>
</configuration>
</plugin>
{noformat}
3. run {{mvn clean javadoc:aggregate}}
I could get past the initial grpc problem by calling {{mvn clean package}} and
then javadoc:aggregate, but that builds jars, which (I'm guessing) starts
putting our automatic namespaces into play, and those aren't great, apparently,
with the plugin.
See the link via [~ndipiazza]:
https://issues.apache.org/jira/browse/MJAVADOC-764
> Fix javadoc aggregate in 3.x
> ----------------------------
>
> Key: TIKA-4318
> URL: https://issues.apache.org/jira/browse/TIKA-4318
> Project: Tika
> Issue Type: Task
> Reporter: Tim Allison
> Assignee: Tim Allison
> Priority: Minor
> Fix For: 3.1.0
>
>
> When I ran the 3.0.0-BETA2 release, I ran into problems with {{javadoc
> aggregate}}.
> Let's see if we can get this to work for the 3.0.0 release?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)