Class InitMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.tentackle.maven.plugin.wizard.AbstractWizardMojo
-
- org.tentackle.maven.plugin.wizard.InitMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="init", inheritByDefault=false, aggregator=true) public class InitMojo extends AbstractWizardMojoInitializes the templates.
Copies the default templates to the configured templateDir.
Needs to be executed only to restore the templates to their defaults.
-
-
Field Summary
-
Fields inherited from class org.tentackle.maven.plugin.wizard.AbstractWizardMojo
entityAliases, filesets, modelDefaults, modelDir
-
-
Constructor Summary
Constructors Constructor Description InitMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()-
Methods inherited from class org.tentackle.maven.plugin.wizard.AbstractWizardMojo
createPackageMap, getEntityAliases, getModelDefaults, getProfiles, getStatusDir, getTemplateDir, installTemplates, loadModel, processFileSet, validate
-
-
-
-
Method Detail
-
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
-
-