Package codes.rafael.modulemaker
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 codes.rafael.modulemaker.AbstractModuleMojo
javaVersion, multirelease
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class codes.rafael.modulemaker.AbstractModuleMojo
execute, filename, makeModuleInfo
Methods 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:
doExecute
in classAbstractModuleMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-