Class AbstractGenerateBdmMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.bonitasoft.plugin.bdm.codegen.AbstractGenerateBdmMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
GenerateBdmDaoClientSourceMojo,GenerateBdmModelSourceMojo
public abstract class AbstractGenerateBdmMojo
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FileThe path to a Business Object Model descriptor file.protected FileThe path to the output folder where the source code is generated.protected org.apache.maven.project.MavenProjectFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
bdmModelFile
The path to a Business Object Model descriptor file.- Since:
- 0.1.0
-
outputFolder
@Parameter(defaultValue="${project.build.directory}/generated-sources/java") protected File outputFolderThe path to the output folder where the source code is generated.- Since:
- 0.1.0
-
project
@Parameter(defaultValue="${project}", required=true, readonly=true) protected org.apache.maven.project.MavenProject project
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
excludedGeneratedSources
-