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:
- ContextEnabled, Mojo
Deprecated. since 1.2, use now the exportCertificate
mojo.
@Deprecated
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>]
See keystore documentation.
- Version:
- 1.0
- Author:
- Juergen Mayrbaeurl
- Is bound to the specified phase of the standard build lifecycle:
- package
- Requires a Maven project to run:
- true
- Is defined by the goal name:
- export
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.codehaus.mojo.keytool.AbstractCmdLineKeyToolMojo |
consumeResult, createParentDirIfNecessary, execute, getCommandlineInfo, getKeystore, getWorkingDir, setAlias, setArguments, setKeystore, setKeyTool, setStorepass, setStoretype, setWorkingDir |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExportMojo
public ExportMojo()
- Deprecated.
createRequest
protected KeyToolRequestWithKeyStoreAndAliasParameters createRequest()
- Deprecated.
- Creates the key tool request to execute.
- Specified by:
createRequest
in class AbstractCmdLineKeyToolMojo
- Returns:
- the request
setFile
public void setFile(String file)
- Deprecated.
- Parameters:
file
- the file to set
Copyright © 2005-2012 Codehaus. All Rights Reserved.