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.
|
executeprotected org.codehaus.plexus.util.cli.Commandline getCommandline(File archive, org.codehaus.plexus.util.cli.Commandline commandLine)
AbstractJarsignerMojoCommandline to execute for a given Java archive taking a command line prepared for executing
jarsigner.getCommandline in class AbstractJarsignerMojoarchive - 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)
AbstractJarsignerMojoCommandline.
This method creates the string representation by calling commandLine.toString() by default.
getCommandlineInfo in class AbstractJarsignerMojocommandLine - The Commandline to get a string representation of.commandLine.protected void preProcessArchive(File archive) throws org.apache.maven.plugin.MojoExecutionException
AbstractJarsignerMojopreProcessArchive in class AbstractJarsignerMojoarchive - The archive to process, must not be null.org.apache.maven.plugin.MojoExecutionException - If pre-processing failed.Copyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.