@Mojo(name="export",
defaultPhase=GENERATE_SOURCES,
requiresProject=true)
public class ExportMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected boolean |
compileWithTestClasses
Indicates whether to use standard or test class path for compilation of generated classes.
|
protected String[] |
excludes
A list of files to exclude.
|
protected String[] |
includes
A list of files to include.
|
protected File |
outputDirectory
The output directory where to generate files and java classes.
|
protected org.apache.maven.project.MavenProject |
project
The current Maven project.
|
protected File |
sourceDirectory
The directory which contains the sources you want to be parsed.
|
Constructor and Description |
---|
ExportMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
@Parameter(defaultValue="${project.build.sourceDirectory}") protected File sourceDirectory
@Parameter(defaultValue="${project.build.directory}/generated-sources/sqlcomments") protected File outputDirectory
@Parameter(required=false) protected String[] includes
**/*.java
@Parameter(required=false) protected String[] excludes
@Parameter(required=false) protected boolean compileWithTestClasses
@Parameter(property="project", required=true, readonly=true) protected org.apache.maven.project.MavenProject project
Copyright © 2014–2015 Vracon s.r.o.. All rights reserved.