@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 |
JSIMPLEDB_DIRECTORY_DEFAULT |
classes, packages, project, storageIdGeneratorClass| Constructor and Description |
|---|
GenerateSchemaMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(JSimpleDB jdb) |
addDependencyClasspathElements, getClassOutputDirectoryexecute, generate, verify, verifygetLog, getPluginContext, setLog, setPluginContextpublic static final String JSIMPLEDB_DIRECTORY_DEFAULT
public static final String EXPECTED_SCHEMA_DEFAULT
protected void execute(JSimpleDB jdb) throws MojoExecutionException, MojoFailureException
execute in class AbstractSchemaMojoMojoExecutionExceptionMojoFailureExceptionCopyright © 2016. All rights reserved.