org.codehaus.mojo.webstart
Class JarUnsignMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.webstart.JarUnsignMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class JarUnsignMojo
extends org.apache.maven.plugin.AbstractMojo

Unsigns a JAR, removing signatures.

This code will hopefully be moved into the jar plugin when stable enough.

Version:
$Id: JarUnsignMojo.java 14443 2011-08-11 22:44:40Z tchemit $
Author:
Jerome Lacoste, Andrius Ĺ abanas
Is defined by the goal name:
unsign
Is bound to the specified phase of the standard build lifecycle:
package
Requires a Maven project to run:
true

Field Summary
protected  org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager
          To look up Archiver/UnArchiver implementations
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JarUnsignMojo()
           
 
Method Summary
 void execute()
           
 boolean isVerbose()
           
 void setArchiverManager(org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager)
           
 void setJarPath(File jarPath)
           
 void setTempDir(File tempDirectory)
           
 void setVerbose(boolean verbose)
           
 String toString(String[] items)
           
protected  void verboseLog(String msg)
          Log as info when verbose or info is enabled, as debug otherwise.
 
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
 

Field Detail

archiverManager

protected org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager
To look up Archiver/UnArchiver implementations

Is a Plexus component defined by:
Is required.
Constructor Detail

JarUnsignMojo

public JarUnsignMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

verboseLog

protected void verboseLog(String msg)
Log as info when verbose or info is enabled, as debug otherwise.


setTempDir

public void setTempDir(File tempDirectory)

setJarPath

public void setJarPath(File jarPath)

isVerbose

public boolean isVerbose()

setVerbose

public void setVerbose(boolean verbose)

setArchiverManager

public void setArchiverManager(org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager)

toString

public String toString(String[] items)


Copyright © 2005-2011 Codehaus. All Rights Reserved.