Package io.github.dmlloyd.moduleinfo
Class ReAddModuleInfoMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- io.github.dmlloyd.moduleinfo.ReAddModuleInfoMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="re-add", defaultPhase=PACKAGE) public class ReAddModuleInfoMojo extends org.apache.maven.plugin.AbstractMojo
A mojo to re-add the deletedmodule-info.class
file.
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.File
jarFile
private java.io.File
moduleInfoClass
-
Constructor Summary
Constructors Constructor Description ReAddModuleInfoMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
-
-
Field Detail
-
jarFile
@Parameter(property="module-info.jar-file", defaultValue="${project.build.directory}/${project.build.finalName}.jar", required=true) private java.io.File jarFile
-
moduleInfoClass
@Parameter(defaultValue="${project.build.outputDirectory}/module-info.class", required=true) private java.io.File moduleInfoClass
-
-