@Mojo(name="sign", defaultPhase=PACKAGE) public class JarsignerSignMojo extends AbstractJarsignerMojo
Constructor and Description |
---|
JarsignerSignMojo() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.maven.shared.jarsigner.JarSignerRequest |
createRequest(File archive)
Creates the jar signer request to be executed.
|
protected String |
getCommandlineInfo(org.apache.maven.shared.utils.cli.Commandline commandLine)
Gets a string representation of a
Commandline . |
protected void |
preProcessArchive(File archive)
Pre-processes a given archive.
|
decrypt, execute, getStorepass, getStoretype
protected String getCommandlineInfo(org.apache.maven.shared.utils.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.protected org.apache.maven.shared.jarsigner.JarSignerRequest createRequest(File archive) throws org.apache.maven.plugin.MojoExecutionException
createRequest
in class AbstractJarsignerMojo
archive
- the archive file to treat by jarsignerorg.apache.maven.plugin.MojoExecutionException
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.