Class ModuleFileMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
codes.rafael.modulemaker.AbstractModuleMojo
codes.rafael.modulemaker.ModuleFileMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="make-module",
defaultPhase=PROCESS_CLASSES,
threadSafe=true)
public class ModuleFileMojo
extends AbstractModuleMojo
A Maven plugin for creating a
module-info.class.
A Maven plugin for creating a module-info.class within the /classes directory.-
Field Summary
FieldsFields 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
-
Field Details
-
outputDirectory
@Parameter(defaultValue="${project.build.outputDirectory}", required=true, readonly=true) private String outputDirectory
-
-
Constructor Details
-
ModuleFileMojo
public ModuleFileMojo()
-
-
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
-