Package dev.rvr.apigenerator
Class GenerateApiMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
dev.rvr.apigenerator.GenerateApiMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate-api-dist",
defaultPhase=PROCESS_CLASSES,
requiresDependencyResolution=TEST)
public class GenerateApiMojo
extends org.apache.maven.plugin.AbstractMojo
The
Mojo class for the generate-api-dist goal. This goal will create a version of
your jar with all method bodies removed, useful when you want others to be able to use your project's api, but
not have the executable (source) files.-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
GenerateApiMojo
public GenerateApiMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoFailureExceptionThe main method of this mojo- Throws:
org.apache.maven.plugin.MojoFailureException- when an exception occurred during the run
-