@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, getStoretypeprotected String getCommandlineInfo(org.apache.maven.shared.utils.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.protected org.apache.maven.shared.jarsigner.JarSignerRequest createRequest(File archive) throws org.apache.maven.plugin.MojoExecutionException
createRequest in class AbstractJarsignerMojoarchive - the archive file to treat by jarsignerorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2002–2025 The Apache Software Foundation. All rights reserved.