Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java doc build step fails #908

Open
danielrbradley opened this issue Apr 30, 2024 · 1 comment
Open

Java doc build step fails #908

danielrbradley opened this issue Apr 30, 2024 · 1 comment
Labels
kind/bug Some behavior is incorrect or out of spec

Comments

@danielrbradley
Copy link
Member

The workflow upgrade is failing for pulumi-azure due to a prevous change causing the Java build to fail:

Logs snippet

/home/runner/work/pulumi-azure/pulumi-azure/sdk/java/src/main/java/com/pulumi/azure/role/Assignment.java:288: error: unknown tag: Request
 *   @Request[Microsoft.Authorization/roleAssignments:RoleDefinitionId] ForAnyOfAnyValues:GuidEquals {%s}

     ^
> Task :javadoc
/home/runner/work/pulumi-azure/pulumi-azure/sdk/java/src/main/java/com/pulumi/azure/role/Assignment.java:298: error: unknown tag: Resource
 *   @Resource[Microsoft.Authorization/roleAssignments:RoleDefinitionId] ForAnyOfAnyValues:GuidEquals {%s}
     ^
/home/runner/work/pulumi-azure/pulumi-azure/sdk/java/src/main/java/com/pulumi/azure/authorization/Assignment.java:290: error: unknown tag: Request
 *   @Request[Microsoft.Authorization/roleAssignments:RoleDefinitionId] ForAnyOfAnyValues:GuidEquals {%s}
     ^
/home/runner/work/pulumi-azure/pulumi-azure/sdk/java/src/main/java/com/pulumi/azure/authorization/Assignment.java:300: error: unknown tag: Resource
 *   @Resource[Microsoft.Authorization/roleAssignments:RoleDefinitionId] ForAnyOfAnyValues:GuidEquals {%s}
     ^

...
4 errors
100 warnings

> Task :javadoc FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/home/runner/work/pulumi-azure/pulumi-azure/sdk/java/build/tmp/javadoc/javadoc.options'

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org/

BUILD FAILED in 52s
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings
2 actionable tasks: 1 executed, 1 up-to-date
make: *** [Makefile:62: build_java] Error 1
Error: Process completed with exit code 2.
@danielrbradley danielrbradley added the kind/bug Some behavior is incorrect or out of spec label Apr 30, 2024
@danielrbradley
Copy link
Member Author

Will most likely be resolved by pulumi/pulumi-java#1342

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

1 participant