I added this in the pom of grpc:
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
</dependency>
and now it ran, however no javadoc file was generated. (which is also
mentioned in TIKA-4318)
Tilman
On 5/28/2025 9:24 PM, Tilman Hausherr wrote:
On 5/28/2025 9:17 PM, Oleg Tikhonov wrote:
Honestly I could not understand what is wrong. Can you please explain
what is not working?
I think he meant javadoc:aggregate. I tried it myself and it did fail
in grpc:
[INFO] --- compiler:3.14.0:compile (default-compile) @ tika-grpc ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 29 source files with javac [debug deprecation release
11] to target\classes
[INFO]
/XXXXXX/tika3/tika-grpc/src/main/java/org/apache/tika/pipes/grpc/ExpiringFetcherStore.java:
Some input files use unchecked or unsafe operations.
[INFO]
/XXXXXX/tika3/tika-grpc/src/main/java/org/apache/tika/pipes/grpc/ExpiringFetcherStore.java:
Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] cannot access com.google.errorprone.annotations.CheckReturnValue
class file for com.google.errorprone.annotations.CheckReturnValue
not found
[INFO] 1 error