Skip to content

protobuf-maven-plugin supports jakarta instead of deprecated javax.annotation #1113

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

Closed
Shulamite opened this issue Mar 27, 2023 · 1 comment
Assignees

Comments

@Shulamite
Copy link

protobuf-maven-plugin generated code uses deprecated javax.annotation:
@javax.annotation.Generated

This doesn't compile when we use jakarta modules.

@ejona86
Copy link
Member

ejona86 commented Mar 29, 2023

This is unrelated to protobuf-maven-plugin and this repository grpc.io.

The solution here is "follow our documentation and add a provided dependency on org.apache.tomcat:annotations-api:6.0.53." Yes it isn't jakarta, but everything works, at least to our knowledge. grpc/grpc-java#9179 has the discussion about swapping to something else, which needs someone to do investigation work of the Java ecosystem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants