Full name:
com.googlecode.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.2.1:generate
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
sourceDirectory | File | 0.1.0 | Location of the JSON Schema file(s). Note: this may refer to a
single file or a directory of files. |
Name | Type | Since | Description |
---|---|---|---|
addCompileSourceRoot | boolean | 0.1.9 | Add the output directory to the project as a source root, so that
the generated java types are compiled and included in the project
artifact. Default value is: true. |
generateBuilders | boolean | 0.1.2 | Whether to generate builder-style methods of the form
withXxx(value) (that return this),
alongside the standard, void-return setters. Default value is: false. |
outputDirectory | File | 0.1.0 | Target directory for generated Java source files. Default value is: ${project.build.directory}/java-gen. |
skip | boolean | 0.2.1 | Skip plugin execution (don't read/validate any schema files, don't
generate any java types). Default value is: false. |
targetPackage | String | 0.1.0 | Package name used for generated Java classes (for types where a
fully qualified name has not been supplied in the schema using the
'javaType' property). |
usePrimitives | boolean | 0.2.0 | Whether to use primitives (long, double,
boolean) instead of wrapper types where possible when
generating bean properties (has the side-effect of making those
properties non-null). Default value is: false. |
skip: