Re: Trying to resurrect truth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 15 Oct 2021 at 05:34, Orion Poplawski <orion@xxxxxxxx> 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
_______________________________________________
java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/java-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux