Fork me on GitHub

keytool:importKeystore

Full name:

org.codehaus.mojo:keytool-maven-plugin:2.0.2:importKeystore

Description:

To import all entries of a keystore to another keystore. Uses Java KeyStore API directly. Note This operation was not implemented by the keytool before jdk 1.6. See keytool documentation.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 1.2.

Optional Parameters

Name Type Since Description
<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: 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 - Enable verbose mode (in mojo and in keytool command). See keytool options.
Default: false

Parameter Details

<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 keytool options.
  • Type: boolean
  • Required: No
  • Default: false