org.codehaus.mojo.keytool
Class CleanKeyMojo

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

public class CleanKeyMojo
extends AbstractKeyToolMojo

A Mojo that deletes a generated keystore file.

Version:
$Revision$
Author:
Sharmarke Aden (saden), $Author$

Field Summary
 
Fields inherited from class org.codehaus.mojo.keytool.AbstractKeyToolMojo
keystore, workingDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CleanKeyMojo()
           
 
Method Summary
 void execute()
          Remove the keystore file from the working directory.
 
Methods inherited from class org.codehaus.mojo.keytool.AbstractKeyToolMojo
getKeystore, getWorkingDir, setKeystore, setWorkingDir
 
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

CleanKeyMojo

public CleanKeyMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Remove the keystore file from the working directory. If it doesn't exist, do nothing?

Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
See Also:
Mojo.execute()


Copyright © 2005-2008 null. All Rights Reserved.