Package org.l2x6.cq.maven
Class CreateTestMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.l2x6.cq.maven.AbstractExtensionListMojo
org.l2x6.cq.maven.CreateTestMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
CreateExtensionMojo
@Mojo(name="new-test",
requiresProject=true,
inheritByDefault=false)
public class CreateTestMojo
extends AbstractExtensionListMojo
Scaffolds a new test.
- Since:
- 0.28.0
-
Field Summary
FieldsFields inherited from class org.l2x6.cq.maven.AbstractExtensionListMojo
multiModuleProjectDirectory, skipArtifactIdBasesFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidevalTemplate(freemarker.template.Configuration cfg, String templateUri, Path dest, TemplateParams model) voidexecute()Methods inherited from class org.l2x6.cq.maven.AbstractExtensionListMojo
getTreeMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
basePath
-
-
Constructor Details
-
CreateTestMojo
public CreateTestMojo()
-
-
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
-
evalTemplate
public void evalTemplate(freemarker.template.Configuration cfg, String templateUri, Path dest, TemplateParams model)
-