@Mojo(name="sign", defaultPhase=PACKAGE) public class JarsignerSignMojo extends AbstractJarsignerMojo
Constructor and Description |
---|
JarsignerSignMojo() |
Modifier and Type | Method and Description |
---|---|
protected JarSignerRequest |
createRequest(File archive)
Creates the jar signer request to be executed.
|
protected String |
getCommandlineInfo(Commandline commandLine)
Gets a string representation of a
Commandline . |
protected void |
preProcessArchive(File archive)
Pre-processes a given archive.
|
decrypt, execute, getStorepass, getStoretype
getLog, getPluginContext, setLog, setPluginContext
protected String getCommandlineInfo(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 MojoExecutionException
AbstractJarsignerMojo
preProcessArchive
in class AbstractJarsignerMojo
archive
- The archive to process, must not be null
.MojoExecutionException
- If pre-processing failed.protected JarSignerRequest createRequest(File archive) throws MojoExecutionException
createRequest
in class AbstractJarsignerMojo
archive
- the archive file to treat by jarsignerMojoExecutionException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.