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 booleanprivate Stringprivate FileDefine the modulepath for thejmodcall.private StringFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.maven.shared.utils.cli.Commandlinevoidexecute()Methods inherited from class AbstractJModMojo
executeCommand, getCommaSeparatedList, getJModExecutable, getProject, getSession, getToolchain, projectHasAlreadySetAnArtifactMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
classPath
-
cmds
-
config
--config <path>Location of user-editable config files. -
dryRun
@Parameter private boolean dryRun -
excludes
-
mainClass
-
libs
-
moduleVersion
-
modulePath
Define the modulepath for thejmodcall.--module-path <path>Must be a directory.
-
-
Constructor Details
-
JModHashMojo
@Inject public JModHashMojo(org.apache.maven.toolchain.ToolchainManager toolchainManager)
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
createJModHashCommandLine
private org.apache.maven.shared.utils.cli.Commandline createJModHashCommandLine()
-