public abstract class AbstractJarsignerMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
AbstractJarsignerMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.apache.maven.shared.jarsigner.JarSignerRequest |
createRequest(File archive)
Creates the jar signer request to be executed.
|
protected String |
decrypt(String encoded) |
void |
execute() |
protected String |
getCommandlineInfo(org.apache.maven.shared.utils.cli.Commandline commandLine)
Gets a string representation of a
Commandline. |
String |
getStorepass() |
String |
getStoretype() |
protected void |
preProcessArchive(File archive)
Pre-processes a given archive.
|
public final void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected abstract org.apache.maven.shared.jarsigner.JarSignerRequest createRequest(File archive) throws org.apache.maven.plugin.MojoExecutionException
archive - the archive file to treat by jarsignerorg.apache.maven.plugin.MojoExecutionExceptionprotected String getCommandlineInfo(org.apache.maven.shared.utils.cli.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 org.apache.maven.plugin.MojoExecutionException
archive - The archive to process, must not be null.org.apache.maven.plugin.MojoExecutionException - If pre-processing failed.Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.