Class JReleaserTemplateGenerateMojo

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

@Mojo(name="template-generate") public class JReleaserTemplateGenerateMojo extends org.apache.maven.plugin.AbstractMojo
Generate a packager/announcer template.
Since:
0.1.0
Author:
Andres Almiray
  • Field Details

    • project

      @Parameter(defaultValue="${project}", readonly=true, required=true) protected org.apache.maven.project.MavenProject project
      The project whose model will be checked.
    • outputDirectory

      @Parameter(property="jreleaser.output.directory", defaultValue="${project.build.directory}/jreleaser") protected File outputDirectory
  • Constructor Details

    • JReleaserTemplateGenerateMojo

      public JReleaserTemplateGenerateMojo()
  • 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
    • getLogger

      protected org.jreleaser.logging.JReleaserLogger getLogger() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • createTracer

      protected PrintWriter createTracer() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException