Class ModuleInjectMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
codes.rafael.modulemaker.AbstractModuleMojo
codes.rafael.modulemaker.ModuleInjectMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="inject-module",
defaultPhase=PACKAGE)
public class ModuleInjectMojo
extends AbstractModuleMojo
A Maven plugin for injecting a
module-info.class into an existing jar file.-
Field Summary
Fields inherited from class AbstractModuleMojo
javaVersion, multireleaseFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractModuleMojo
execute, filename, makeModuleInfoMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
ModuleInjectMojo
public ModuleInjectMojo()
-
-
Method Details
-
doExecute
protected void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
doExecutein classAbstractModuleMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-