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 Details

    • basePath

      protected Path 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.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
    • evalTemplate

      public void evalTemplate(freemarker.template.Configuration cfg, String templateUri, Path dest, TemplateParams model)