Class InitMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="init", aggregator=true) public class InitMojo extends AbstractWizardMojo
Initializes the templates.
Copies the default templates to the configured templateDir.
Needs to be executed only to restore the templates to their defaults.
  • Constructor Details

    • InitMojo

      public InitMojo()
  • Method Details

    • getStage

      protected javafx.stage.Stage getStage()
      Description copied from class: AbstractWizardMojo
      Gets the stage, if this an interactive FX application.
      Specified by:
      getStage in class AbstractWizardMojo
      Returns:
      the stage, null if console application
    • executeImpl

      public void executeImpl() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Overrides:
      executeImpl in class AbstractWizardMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException