jarsigner:sign

Full name:

org.apache.maven.plugins:maven-jarsigner-plugin:1.0:sign

Description:

Signs a project artifact and attachments using jarsigner.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: package.

Required Parameters

Name Type Since Description
alias String - See options.

Optional Parameters

Name Type Since Description
archive File - Archive to process. If set, neither the project artifact nor any attachments are processed.
arguments String[] - List of additional arguments to append to the jarsigner command line.
attachments boolean - Controls processing of project attachments.
Default value is: true.
keypass String - See options.
keystore String - See options.
maxMemory String - The maximum memory available to the JAR signer, e.g. 256M. See -Xmx for more details.
providerArg String - See options.
providerClass String - See options.
providerName String - See options.
sigfile String - See options.
skip boolean - Set to true to disable the plugin.
Default value is: false.
storepass String - See options.
storetype String - See options.
verbose boolean - See options.
Default value is: false.

Parameter Details

alias:

See options.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${jarsigner.alias}

archive:

Archive to process. If set, neither the project artifact nor any attachments are processed.
  • Type: java.io.File
  • Required: No
  • Expression: ${jarsigner.archive}

arguments:

List of additional arguments to append to the jarsigner command line.
  • Type: java.lang.String[]
  • Required: No
  • Expression: ${jarsigner.arguments}

attachments:

Controls processing of project attachments.
  • Type: boolean
  • Required: No
  • Expression: ${jarsigner.attachments}
  • Default: true

keypass:

See options.
  • Type: java.lang.String
  • Required: No
  • Expression: ${jarsigner.keypass}

keystore:

See options.
  • Type: java.lang.String
  • Required: No
  • Expression: ${jarsigner.keystore}

maxMemory:

The maximum memory available to the JAR signer, e.g. 256M. See -Xmx for more details.
  • Type: java.lang.String
  • Required: No
  • Expression: ${jarsigner.maxMemory}

providerArg:

See options.
  • Type: java.lang.String
  • Required: No
  • Expression: ${jarsigner.providerArg}

providerClass:

See options.
  • Type: java.lang.String
  • Required: No
  • Expression: ${jarsigner.providerClass}

providerName:

See options.
  • Type: java.lang.String
  • Required: No
  • Expression: ${jarsigner.providerName}

sigfile:

See options.
  • Type: java.lang.String
  • Required: No
  • Expression: ${jarsigner.sigfile}

skip:

Set to true to disable the plugin.
  • Type: boolean
  • Required: No
  • Expression: ${jarsigner.skip}
  • Default: false

storepass:

See options.
  • Type: java.lang.String
  • Required: No
  • Expression: ${jarsigner.storepass}

storetype:

See options.
  • Type: java.lang.String
  • Required: No
  • Expression: ${jarsigner.storetype}

verbose:

See options.
  • Type: boolean
  • Required: No
  • Expression: ${jarsigner.verbose}
  • Default: false