On Fri, 15 Oct 2021 at 05:34, Orion Poplawski <orion(a)nwra.com> wrote:
I'm trying to resurrect the google "truth" package. I have a 0.42
branch here:
https://src.fedoraproject.org/fork/orion/rpms/truth/tree/0.42
But the javadoc fails to build with:
[INFO] -------------------< com.google.truth:truth-parent
>--------------------
[INFO] Building Truth (Parent) 0.42
[7/6]
[INFO] --------------------------------[ pom
]---------------------------------
[INFO]
[INFO] --- xmvn-mojo:4.0.0:install (default-cli) @ truth-parent ---
[INFO]
[INFO] --- xmvn-mojo:4.0.0:javadoc (default-cli) @ truth-parent ---
/home/orion/fedora/truth/truth-release_0_42/extensions/proto/target/generated-sources/annotations/com/google/common/truth/extensions/proto/AutoValue_FluentEqualityConfig.java:11:
error: cannot find symbol
import javax.annotation.Generated;
^
symbol: class Generated
location: package javax.annotation
any advice as to how to proceed would be helpful. These are generate
source files. I've tried disabling maven-plugin-javadoc and excluding
sources in various ways to no effect.
Thanks!
"javax.annotation" was one of the EE APIs that was removed in Java 11
so you are almost certainly just missing a dependency on
"javax.annotation:javax.annotation-api"
Upstream probably builds on Java 8.
--
Mat Booth
http://fedoraproject.org/get-fedora