public class JarSignVerifyMojo
extends org.apache.maven.plugin.AbstractMojo
Constructor and Description |
---|
JarSignVerifyMojo()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Deprecated.
|
protected int |
executeCommandLine(org.codehaus.plexus.util.cli.Commandline commandLine,
InputStream inputStream,
org.codehaus.plexus.util.cli.StreamConsumer systemOut,
org.codehaus.plexus.util.cli.StreamConsumer systemErr)
Deprecated.
|
boolean |
isSigned()
Deprecated.
Is the JAR file signed ? Output property set by the
execute() call. |
void |
setBasedir(File basedir)
Deprecated.
|
void |
setCheckCerts(boolean checkCerts)
Deprecated.
|
void |
setErrorWhenNotSigned(boolean errorWhenNotSigned)
Deprecated.
Sets a boolean that is to determine if an exception should be thrown when
the JAR file being verified is unsigned.
|
void |
setJarPath(File jarPath)
Deprecated.
|
void |
setVerbose(boolean verbose)
Deprecated.
|
void |
setWorkingDir(File workingDir)
Deprecated.
|
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected int executeCommandLine(org.codehaus.plexus.util.cli.Commandline commandLine, InputStream inputStream, org.codehaus.plexus.util.cli.StreamConsumer systemOut, org.codehaus.plexus.util.cli.StreamConsumer systemErr) throws org.codehaus.plexus.util.cli.CommandLineException
org.codehaus.plexus.util.cli.CommandLineException
public void setWorkingDir(File workingDir)
public void setBasedir(File basedir)
public void setJarPath(File jarPath)
public void setCheckCerts(boolean checkCerts)
public void setVerbose(boolean verbose)
public boolean isSigned()
execute()
call.true
if the jar was signed, false
otherwise.public void setErrorWhenNotSigned(boolean errorWhenNotSigned)
true
.Copyright © 2014. All rights reserved.