jarsigner:sign

Full name:

net.sourceforge.mjarsigner:jarsigner-maven-plugin:1.0-beta-3: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.
arguments String[] - List of arguments to append to the jarsigner command line.
artifact boolean - Controls processing of the project artifact.
Default value is: true.
attachments boolean - Controls processing of project attachments.
Default value is: true.
directory File - Directory to process.
disabled boolean - Set to true to disable the plugin.
Default value is: false.
excludes String[] - List of files to exclude when scanning the given directory. Specified as fileset patterns.
includes String[] - List of files to include when scanning the given directory. Specified as fileset patterns. (Defaults to **/*.ear, **/*.jar, **/*.rar, **/*.war).
keypass String - See options.
keystore String - See options.
sigfile String - See options.
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.
  • Type: java.io.File
  • Required: No
  • Expression: ${jarsigner.archive}

arguments:

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

artifact:

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

attachments:

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

directory:

Directory to process.
  • Type: java.io.File
  • Required: No
  • Expression: ${jarsigner.directory}

disabled:

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

excludes:

List of files to exclude when scanning the given directory. Specified as fileset patterns.
  • Type: java.lang.String[]
  • Required: No

includes:

List of files to include when scanning the given directory. Specified as fileset patterns. (Defaults to **/*.ear, **/*.jar, **/*.rar, **/*.war).
  • Type: java.lang.String[]
  • Required: No

keypass:

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

keystore:

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

sigfile:

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

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