Class JModHashMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.jmod.AbstractJModMojo
org.apache.maven.plugins.jmod.JModHashMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="hash", requiresDependencyResolution=COMPILE, defaultPhase=PACKAGE) public class JModHashMojo extends AbstractJModMojo
 jmod hash ...
 
  • Field Details

    • classPath

      @Parameter private List<String> classPath
      --class-path <path> Application jar files|dir containing classes.
    • cmds

      @Parameter private List<String> cmds
      --class-path <path> Application jar files|dir containing classes.
    • config

      @Parameter private File config
      --config <path> Location of user-editable config files.
    • dryRun

      @Parameter private boolean dryRun
    • excludes

      @Parameter private List<String> excludes
    • mainClass

      @Parameter private String mainClass
    • libs

      @Parameter private List<File> libs
    • moduleVersion

      @Parameter private String moduleVersion
    • modulePath

      @Parameter(required=true) private File modulePath
      Define the modulepath for the jmod call. --module-path <path> Must be a directory.
  • Constructor Details

    • JModHashMojo

      public JModHashMojo()
  • 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
    • createJModHashCommandLine

      private org.codehaus.plexus.util.cli.Commandline createJModHashCommandLine()