-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
@Generated annotation generator ignores target Java version #1361
Comments
Same issue here indeed |
It seems that this was a deliberate decision, see:
Reversing that decision would mean introducing "breaking change" (for users relying on current implementation without having |
same issue here since we are building on java 11 but target java 8 i could potentially provide a PR if there is agreement on the suggestion |
+1 |
When use jsonschema2pojo generator with runtime java version 9+ it's impossible to generate classes for older versions of java, even target version is set to 1.7 or 1.8.
It's quite unfortunate for our project (which uses java 11+) to use detached module only to publish models compatible with java 1.8
Both maven and gradle generators are affected.
The text was updated successfully, but these errors were encountered: