joelittlejohn / jsonschema2pojo

Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc

Home Page:http://www.jsonschema2pojo.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

aevers1967 opened this issue · comments

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



"

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