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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Generate licensing related materials such as LICENSE and NOTICE documents.Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
GenerateMojo
public GenerateMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionExceptionGenerate 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()
-