org.codehaus.mojo.keytool
Class ExportMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.keytool.AbstractKeyToolMojo
org.codehaus.mojo.keytool.AbstractCmdLineKeyToolMojo
org.codehaus.mojo.keytool.ExportMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class ExportMojo
- extends AbstractCmdLineKeyToolMojo
Reads (from the keystore) the certificate associated with alias
, and stores it in the file
cert_file
.
Implemented as a wrapper around the SDK keytool -export
command.
-export [-v] [-protected]
[-alias <alias>]
[-file <file>]
[-storetype <storetype>]
[-keystore <keystore>]
[-storepass <storepass>]
[-keypass <keypass>]
- Version:
- 1.0
- Author:
- Juergen Mayrbaeurl
- See Also:
- keystore documentation.
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
ExportMojo
public ExportMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
setFile
public void setFile(java.lang.String file)
- Parameters:
file
- the file to set
setStoretype
public void setStoretype(java.lang.String storetype)
- Parameters:
storetype
- the storetype to set
setStorepass
public void setStorepass(java.lang.String storepass)
- Parameters:
storepass
- the storepass to set
setAlias
public void setAlias(java.lang.String alias)
- Parameters:
alias
- the alias to set
setVerbose
public void setVerbose(boolean verbose)
- Parameters:
verbose
- the verbose to set
setKeypass
public void setKeypass(java.lang.String keypass)
- Parameters:
keypass
- the keypass to set
Copyright © 2005-2009. All Rights Reserved.