public class JarsignerSignMojo extends AbstractJarsignerMojo
Constructor and Description |
---|
JarsignerSignMojo() |
Modifier and Type | Method and Description |
---|---|
protected org.codehaus.plexus.util.cli.Commandline |
getCommandline(File archive,
org.codehaus.plexus.util.cli.Commandline commandLine)
Gets the
Commandline to execute for a given Java archive taking a command line prepared for executing
jarsigner. |
protected String |
getCommandlineInfo(org.codehaus.plexus.util.cli.Commandline commandLine)
Gets a string representation of a
Commandline . |
protected void |
preProcessArchive(File archive)
Pre-processes a given archive.
|
execute
protected org.codehaus.plexus.util.cli.Commandline getCommandline(File archive, org.codehaus.plexus.util.cli.Commandline commandLine)
AbstractJarsignerMojo
Commandline
to execute for a given Java archive taking a command line prepared for executing
jarsigner.getCommandline
in class AbstractJarsignerMojo
archive
- The Java archive to get a Commandline
to execute for.commandLine
- A Commandline
prepared for executing jarsigner without any arguments.Commandline
for executing jarsigner with archive
.protected String getCommandlineInfo(org.codehaus.plexus.util.cli.Commandline commandLine)
AbstractJarsignerMojo
Commandline
.
This method creates the string representation by calling commandLine.toString()
by default.
getCommandlineInfo
in class AbstractJarsignerMojo
commandLine
- The Commandline
to get a string representation of.commandLine
.protected void preProcessArchive(File archive) throws org.apache.maven.plugin.MojoExecutionException
AbstractJarsignerMojo
preProcessArchive
in class AbstractJarsignerMojo
archive
- The archive to process, must not be null
.org.apache.maven.plugin.MojoExecutionException
- If pre-processing failed.Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.