Package pl.matsuo.interfacer
Class InterfacerPluginMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
pl.matsuo.interfacer.InterfacerPluginMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="add-interfaces",
defaultPhase=PROCESS_SOURCES,
requiresDependencyResolution=COMPILE)
public class InterfacerPluginMojo
extends org.apache.maven.plugin.AbstractMojo
This plugin is a sample for building your own plugins. It takes a directory of source code and
adds a trace line to each method.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors Constructor Description InterfacerPluginMojo() -
Method Summary
Modifier and Type Method Description voidexecute()Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
InterfacerPluginMojo
public InterfacerPluginMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-