@Mojo(name="generate", defaultPhase=PROCESS_SOURCES, requiresProject=true) public class GenerateMojo extends AbstractSqlCommentsMojo
Modifier and Type | Field and Description |
---|---|
protected String[] |
excludes
A list of files to exclude.
|
protected String[] |
includes
A list of files to include.
|
protected File |
sourceDirectory
The directory which contains the *.sql files you want to be parsed.
|
compileWithTestClasses, databaseColumns, databaseDialect, databaseUrl, dbPassword, dbUserName, dialect, hasErrors, jdbcDriverClass, mappingFiles, outputDirectory, project, TABLE_PROP_CLASS_NAME, TABLE_PROP_COLUMN_JAVA_CLASS, TABLE_PROP_COLUMN_MAPPER, TABLE_PROP_INTERFACES, TABLE_PROP_PK_GENERATOR, tableProperties, tables, templateProcessor
Constructor and Description |
---|
GenerateMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
extractDatabaseMetaData, loadDatabaseMetadata, mapDBColumnDefinition, processFile, processFile
@Parameter(defaultValue="${project.build.directory}/generated-sources/sqlcomments") protected File sourceDirectory
@Parameter(required=false) protected String[] includes
**/*.sql
@Parameter(required=false) protected String[] excludes
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class AbstractSqlCommentsMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2014–2015 Vracon s.r.o.. All rights reserved.