Package org.apache.maven.plugins.jmod
Class JModDescribeMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.maven.plugins.jmod.AbstractJModMojo
-
- org.apache.maven.plugins.jmod.JModDescribeMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="describe", requiresDependencyResolution=NONE, defaultPhase=NONE) public class JModDescribeMojo extends AbstractJModMojo
This goal is to support the usage ofjmod describe
.
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.File
jmodFile
The name of the jmod file which is used to be examined viajmod describe jmodFile
private java.io.File
outputDirectory
-
Constructor Summary
Constructors Constructor Description JModDescribeMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private org.codehaus.plexus.util.cli.Commandline
createJModDescribeCommandLine(java.io.File resultingJModFile)
void
execute()
-
Methods inherited from class org.apache.maven.plugins.jmod.AbstractJModMojo
executeCommand, getCommaSeparatedList, getJModExecutable, getProject, getSession, getToolchain, projectHasAlreadySetAnArtifact
-
-
-
-
Field Detail
-
outputDirectory
@Parameter(defaultValue="${project.build.directory}", required=true, readonly=true) private java.io.File outputDirectory
-
jmodFile
@Parameter(defaultValue="${project.build.directory}/jmods/${project.artifactId}.jmod", property="jmodfile", required=true) private java.io.File jmodFile
The name of the jmod file which is used to be examined viajmod describe jmodFile
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
createJModDescribeCommandLine
private org.codehaus.plexus.util.cli.Commandline createJModDescribeCommandLine(java.io.File resultingJModFile) throws java.io.IOException
- Throws:
java.io.IOException
-
-