Class PdoMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.tentackle.maven.plugin.wizard.AbstractWizardMojo
-
- org.tentackle.maven.plugin.wizard.PdoMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="pdo", inheritByDefault=false, aggregator=true) public class PdoMojo extends AbstractWizardMojoWizard to create PDO files.
-
-
Field Summary
-
Fields inherited from class org.tentackle.maven.plugin.wizard.AbstractWizardMojo
entityAliases, filesets, modelDefaults, modelDir
-
-
Constructor Summary
Constructors Constructor Description PdoMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()java.util.List<PdoProfile>getPdoProfiles()protected voidvalidate()Validates the configuration.-
Methods inherited from class org.tentackle.maven.plugin.wizard.AbstractWizardMojo
createPackageMap, getEntityAliases, getModelDefaults, getProfiles, getStatusDir, getTemplateDir, installTemplates, loadModel, processFileSet
-
-
-
-
Method Detail
-
getPdoProfiles
public java.util.List<PdoProfile> getPdoProfiles()
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Overrides:
executein classAbstractWizardMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
validate
protected void validate() throws org.apache.maven.plugin.MojoExecutionExceptionDescription copied from class:AbstractWizardMojoValidates the configuration.- Overrides:
validatein classAbstractWizardMojo- Throws:
org.apache.maven.plugin.MojoExecutionException- if project not set or misconfigured
-
-