Class GenerateMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.creadur.whisker.plugin.maven.GenerateMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="generate", requiresProject=false) public class GenerateMojo extends org.apache.maven.plugin.AbstractMojo
Generates licensing related materials such as LICENSE and NOTICE documents for assembled applications. The plugin is not bound to a specific lifecycle phase.
  • Field Summary

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Generate licensing related materials such as LICENSE and NOTICE documents.

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GenerateMojo

      public GenerateMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Generate licensing related materials such as LICENSE and NOTICE documents.
      Throws:
      org.apache.maven.plugin.MojoExecutionException - when Whisker fails, or when configured cannot be executed
      See Also:
      • Mojo.execute()