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 amodule-info.class
. A Maven plugin for creating amodule-info.class
within the/classes
directory.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
outputDirectory
-
Fields inherited from class codes.rafael.modulemaker.AbstractModuleMojo
javaVersion, multirelease
-
-
Constructor Summary
Constructors Constructor Description ModuleFileMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doExecute()
-
Methods inherited from class codes.rafael.modulemaker.AbstractModuleMojo
execute, filename, makeModuleInfo
-
-
-
-
Method Detail
-
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
-
-