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

versie 1.2.1: setting <useJakartaValidation>true</useJakartaValidation> stil generates import javax.annotation.Generated; #1586

Open
aevers1967 opened this issue Feb 9, 2024 · 1 comment

Comments

@aevers1967
Copy link

aevers1967 commented Feb 9, 2024

We are upgrading to jakarta and the tool does not generate. import jakarta.annotation.Generated;

maven configuration

org.jsonschema2pojo
jsonschema2pojo-maven-plugin
1.2.1

json
true
true
true
true
true
true
true
${basedir}/src/main/resources/bcm
json




generate



"

@unkish
Copy link
Collaborator

unkish commented Feb 10, 2024

useJakartaValidation is not supposed to generate import jakarta.annotation.Generated; since as the configuration name implies it is related to validation and neither javax.annotation.Generated nor jakarta.annotation.Generated are part of validation-api, both belong to annotation-api.

This has been discussed in #1461

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