org.codehaus.mojo.keytool
Class ExportMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.keytool.AbstractKeyToolMojo
          extended by org.codehaus.mojo.keytool.AbstractCmdLineKeyToolMojo
              extended by 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

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ExportMojo()
          Deprecated.  
 
Method Summary
protected  KeyToolRequestWithKeyStoreAndAliasParameters createRequest()
          Deprecated. Creates the key tool request to execute.
 void setFile(String file)
          Deprecated.  
 
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 org.codehaus.mojo.keytool.AbstractKeyToolMojo
getMessage, getMessage, getMessage, isSkip, isVerbose, setSkip, setVerbose
 
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

ExportMojo

public ExportMojo()
Deprecated. 
Method Detail

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.