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!
Idk what's the issue but your specfile [1] builds just fine [2].
[1] https://src.fedoraproject.org/fork/orion/rpms/truth/blob/0.42/f/truth.spec [2] https://paste.centos.org/view/be729bb3
On Fri, Oct 15, 2021 at 9:25 AM Didik Supriadi didiksupriadi41@fedoraproject.org wrote:
Idk what's the issue but your specfile [1] builds just fine [2].
It builds fine for me too, in rawhide.
-- Mikolaj Izdebski
[1] https://src.fedoraproject.org/fork/orion/rpms/truth/blob/0.42/f/truth.spec [2] https://paste.centos.org/view/be729bb3
-- Regards, Didik Supriadi (he/him) https://getfedora.org _______________________________________________ java-devel mailing list -- java-devel@lists.fedoraproject.org To unsubscribe send an email to java-devel-leave@lists.fedoraproject.org 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@lists.fedoraproject... Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
* Orion Poplawski:
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
The annotation type was part of the jaxws component in OpenJDK 8. I think it's still packaged in Fedora as geronimo-annotation (and perhaps also in other packages).
On Fri, 15 Oct 2021 at 05:34, Orion Poplawski orion@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.
On 10/15/21 2:06 AM, Mat Booth wrote:
On Fri, 15 Oct 2021 at 05:34, Orion Poplawski orion@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.
Thanks for the pointer. I had to add the dependency to the extensions/proto/pom.xml, but that did the trick.
It's seems that it is the same problem like this: https://github.com/fedora-java/xmvn/issues/110
Le 15.10.21 à 06:34, Orion Poplawski a écrit :
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!
java-devel mailing list --java-devel@lists.fedoraproject.org To unsubscribe send an email tojava-devel-leave@lists.fedoraproject.org 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@lists.fedoraproject... Do not reply to spam on the list, report it:https://pagure.io/fedora-infrastructure
On 10/14/21 10:34 PM, Orion Poplawski 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!
Review request is here: https://bugzilla.redhat.com/show_bug.cgi?id=2014774
java-devel@lists.fedoraproject.org