Class InitMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.tentackle.maven.AbstractTentackleMojo
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
Initializes the templates.
Copies the default templates to the configured templateDir.
Needs to be executed only to restore the templates to their defaults.
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
Fields inherited from class org.tentackle.maven.AbstractTentackleMojo
charset, JDK_TOOLCHAIN, minLogLevel, verbosity, verbosityLevel
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected javafx.stage.Stage
getStage()
Gets the stage, if this an interactive FX application.Methods inherited from class org.tentackle.maven.plugin.wizard.AbstractWizardMojo
configureFx, getEntityAliases, getModelDefaults, getProfiles, getStatusDir, getTemplateDir, installTemplates, loadModel, processFileSet, registerUncaughtExceptionHandler, validate
Methods inherited from class org.tentackle.maven.AbstractTentackleMojo
createFileSetManager, createPackageMap, determineEncoding, determineJavaToolVersion, determineVerbosity, execute, finishExecute, getCanonicalPath, getHostName, getIncludedFiles, getJavaHome, getMajorVersion, getMavenProject, getMavenSession, getMojoExecution, getPathRelativeToBasedir, getResourceDir, getResourceDirs, getSettings, getSettingsDecrypter, getToolchain, getToolchain, getToolchain, getToolchainManager, getToolFinder, installJavaLoggingHandler, isExecutionRecursive, isSkippedByDefault, loadResourceFileIntoString, prepareExecute, toDescriptorName
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
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 classAbstractWizardMojo
- 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 classAbstractWizardMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-