Class JReleaserInitMojo

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

@Mojo(name="init") public class JReleaserInitMojo extends org.apache.maven.plugin.AbstractMojo
Create a jreleaser config file.
Since:
1.4.0
Author:
Andres Almiray
  • Field Details

    • project

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

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

    • JReleaserInitMojo

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