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 AbstractExtensionListMojoScaffolds a new test.- Since:
- 0.28.0
-
-
Field Summary
Fields Modifier and Type Field Description protected PathbasePath-
Fields inherited from class org.l2x6.cq.maven.AbstractExtensionListMojo
multiModuleProjectDirectory, skipArtifactIdBases
-
-
Constructor Summary
Constructors Constructor Description CreateTestMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidevalTemplate(freemarker.template.Configuration cfg, String templateUri, Path dest, TemplateParams model)voidexecute()-
Methods inherited from class org.l2x6.cq.maven.AbstractExtensionListMojo
getTree
-
-
-
-
Field Detail
-
basePath
protected Path basePath
-
-
Method Detail
-
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)
-
-