org.apache.maven.plugins.jarsigner
Class JarsignerVerifyMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugins.jarsigner.AbstractJarsignerMojo
          extended by org.apache.maven.plugins.jarsigner.JarsignerVerifyMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class JarsignerVerifyMojo
extends AbstractJarsignerMojo

Checks the signatures of a project artifact and attachments using jarsigner.

Since:
1.0
Version:
$Id: JarsignerVerifyMojo.java 802558 2009-08-09 17:00:30Z bentmann $
Author:
Christian Schulte
Is defined by the goal name:
verify
Is bound to the specified phase of the standard build lifecycle:
verify

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JarsignerVerifyMojo()
           
 
Method Summary
protected  org.codehaus.plexus.util.cli.Commandline getCommandline(File archive, org.codehaus.plexus.util.cli.Commandline commandLine)
          Gets the Commandline to execute for a given Java archive taking a command line prepared for executing jarsigner.
 
Methods inherited from class org.apache.maven.plugins.jarsigner.AbstractJarsignerMojo
execute, getCommandlineInfo, preProcessArchive
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarsignerVerifyMojo

public JarsignerVerifyMojo()
Method Detail

getCommandline

protected org.codehaus.plexus.util.cli.Commandline getCommandline(File archive,
                                                                  org.codehaus.plexus.util.cli.Commandline commandLine)
Description copied from class: AbstractJarsignerMojo
Gets the Commandline to execute for a given Java archive taking a command line prepared for executing jarsigner.

Specified by:
getCommandline in class AbstractJarsignerMojo
Parameters:
archive - The Java archive to get a Commandline to execute for.
commandLine - A Commandline prepared for executing jarsigner without any arguments.
Returns:
A Commandline for executing jarsigner with archive.


Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.