keytool:importKeystore

Full name:

org.codehaus.mojo:keytool-maven-plugin:1.6-SNAPSHOT:importKeystore

Description:

To import all entries of a keystore to another keystore. Implemented as a wrapper around the SDK keytool -importkeystore command. Note This operation was not implemented by the keytool before jdk 1.6. See keystore documentation.

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 1.2.

Required Parameters

Name Type Since Description
workingDirectory File 1.2 Where to execute the keytool command.
Default value is: ${basedir}.

Optional Parameters

Name Type Since Description
arguments String[] 1.1 List of additional arguments to append to the keytool command line. Note: This parameter is left for compatibility reason but should be used at a last resort whenparameters are not found in dedicated mojo due to possible side-effects on parameters (see https://jira.codehaus.org/browse/MKEYTOOL-17)
destalias String 1.2 Destination alias. See options.
destkeypass String 1.2 Destination key password. See options.
destkeystore String 1.2 Destination keystore name. See options.
destprovidername String 1.2 Destination keystore provider name. See options.
deststorepass String 1.2 Destination keystore password. See options.
deststoretype String 1.2 Destination keystore type. See options.
noprompt boolean 1.2 Do not prompt. See options.
providerarg String 1.2 Provider argument. See options.
providerclass String 1.2 Provider class name. See options.
providerpath String 1.2 Provider classpath. See options.
skip boolean 1.1 Set to true to disable the plugin.
Default value is: false.
skipIfExist boolean 1.3 If value is true, then will do nothing if keystore already exists.
srcalias String 1.2 Source alias. See options.
srckeypass String 1.2 Source key password. See options.
srckeystore String 1.2 Source keystore name. See options.
srcprotected boolean 1.2 Source keystore password protected. See options.
srcprovidername String 1.2 Source keystore provider name. See options.
srcstorepass String 1.2 Source keystore password. See options.
srcstoretype String 1.2 Source keystore type. See options.
verbose boolean 1.2 Enable verbose mode (in mojo and in keytool command). See options.
Default value is: false.

Parameter Details

arguments:

List of additional arguments to append to the keytool command line. Note: This parameter is left for compatibility reason but should be used at a last resort whenparameters are not found in dedicated mojo due to possible side-effects on parameters (see https://jira.codehaus.org/browse/MKEYTOOL-17)
  • Type: java.lang.String[]
  • Since: 1.1
  • Required: No

destalias:

Destination alias. See options.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No

destkeypass:

Destination key password. See options.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No

destkeystore:

Destination keystore name. See options.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No

destprovidername:

Destination keystore provider name. See options.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No

deststorepass:

Destination keystore password. See options.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No

deststoretype:

Destination keystore type. See options.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No

noprompt:

Do not prompt. See options.
  • Type: boolean
  • Since: 1.2
  • Required: No

providerarg:

Provider argument. See options.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No

providerclass:

Provider class name. See options.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No

providerpath:

Provider classpath. See options.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No

skip:

Set to true to disable the plugin.
  • Type: boolean
  • Since: 1.1
  • Required: No
  • Default: false

skipIfExist:

If value is true, then will do nothing if keystore already exists.
  • Type: boolean
  • Since: 1.3
  • Required: No

srcalias:

Source alias. See options.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No

srckeypass:

Source key password. See options.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No

srckeystore:

Source keystore name. See options.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No

srcprotected:

Source keystore password protected. See options.
  • Type: boolean
  • Since: 1.2
  • Required: No

srcprovidername:

Source keystore provider name. See options.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No

srcstorepass:

Source keystore password. See options.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No

srcstoretype:

Source keystore type. See options.
  • Type: java.lang.String
  • Since: 1.2
  • Required: No

verbose:

Enable verbose mode (in mojo and in keytool command). See options.
  • Type: boolean
  • Since: 1.2
  • Required: No
  • Default: false

workingDirectory:

Where to execute the keytool command.
  • Type: java.io.File
  • Since: 1.2
  • Required: Yes
  • Default: ${basedir}