JSR-303 activation in jsonschema2pojo
问题 There is a place in jsonschema2pojo documentation describing possibility to enable JSR-303 annotations generation. If I understand correctly it can be done via Maven plugin configuration. Could someone show how to accomplish it, which tag in plugin configuration should be used? Thanks to all! 回答1: I think you are looking for the includeJsr303Annotations parameter. See the plugin documentation: includeJsr303Annotations Whether to include JSR-303 annotations (for schema rules like minimum ,