@Mojo(name="generate", requiresDependencyResolution=COMPILE_PLUS_RUNTIME, threadSafe=true) public class GenerateSchemaMojo extends AbstractMainSchemaMojo
Such a file can be used to detect schema changes that require a new schema version number as Java model classes are modified over time.
Modifier and Type | Field and Description |
---|---|
static String |
EXPECTED_SCHEMA_DEFAULT |
static String |
PERMAZEN_DIRECTORY_DEFAULT |
classes, packages, project, schemaVersionProperty, storageIdGeneratorClass
Constructor and Description |
---|
GenerateSchemaMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute(Permazen jdb) |
addDependencyClasspathElements, getClassOutputDirectory
execute, generate, verify, verify
getLog, getPluginContext, setLog, setPluginContext
public static final String PERMAZEN_DIRECTORY_DEFAULT
public static final String EXPECTED_SCHEMA_DEFAULT
protected void execute(Permazen jdb) throws MojoExecutionException, MojoFailureException
execute
in class AbstractSchemaMojo
MojoExecutionException
MojoFailureException
Copyright © 2019. All rights reserved.