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 of jmod describe.
  • Field Details

    • outputDirectory

      @Parameter(defaultValue="${project.build.directory}", required=true, readonly=true) private File outputDirectory
    • jmodFile

      @Parameter(defaultValue="${project.build.directory}/jmods/${project.artifactId}.jmod", property="jmodfile", required=true) private File jmodFile
      The name of the jmod file which is used to be examined via jmod describe jmodFile
  • Constructor Details

    • JModDescribeMojo

      public JModDescribeMojo()
  • Method Details

    • 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(File resultingJModFile) throws IOException
      Throws:
      IOException