public abstract class AbstractJarsignerMojo extends AbstractMojo
| Constructor and Description |
|---|
AbstractJarsignerMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract JarSignerRequest |
createRequest(File archive)
Creates the jar signer request to be executed.
|
protected String |
decrypt(String encoded) |
void |
execute() |
protected String |
getCommandlineInfo(Commandline commandLine)
Gets a string representation of a
Commandline. |
String |
getStorepass() |
String |
getStoretype() |
protected void |
preProcessArchive(File archive)
Pre-processes a given archive.
|
getLog, getPluginContext, setLog, setPluginContextpublic final void execute()
throws MojoExecutionException
MojoExecutionExceptionprotected abstract JarSignerRequest createRequest(File archive) throws MojoExecutionException
archive - the archive file to treat by jarsignerMojoExecutionExceptionprotected String getCommandlineInfo(Commandline commandLine)
Commandline.
This method creates the string representation by calling commandLine.toString() by default.
commandLine - The Commandline to get a string representation of.commandLine.NullPointerException - if commandLine is null.public String getStoretype()
public String getStorepass()
protected void preProcessArchive(File archive) throws MojoExecutionException
archive - The archive to process, must not be null.MojoExecutionException - If pre-processing failed.protected String decrypt(String encoded) throws MojoExecutionException
MojoExecutionExceptionCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.