Package org.apache.maven.plugins.jmod
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 Summary
FieldsModifier and TypeFieldDescription--class-path <path>
Application jar files|dir containing classes.--class-path <path>
Application jar files|dir containing classes.private File
--config <path>
Location of user-editable config files.private boolean
private String
private File
Define the modulepath for thejmod
call.private String
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.codehaus.plexus.util.cli.Commandline
void
execute()
Methods inherited from class org.apache.maven.plugins.jmod.AbstractJModMojo
executeCommand, getCommaSeparatedList, getJModExecutable, getProject, getSession, getToolchain, projectHasAlreadySetAnArtifact
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
classPath
--class-path <path>
Application jar files|dir containing classes. -
cmds
--class-path <path>
Application jar files|dir containing classes. -
config
--config <path>
Location of user-editable config files. -
dryRun
@Parameter private boolean dryRun -
excludes
-
mainClass
-
libs
-
moduleVersion
-
modulePath
Define the modulepath for thejmod
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()
-