crx:crx

Full name:

com.btmatthews.maven.plugins:crx-maven-plugin:1.2.1:crx

Description:

Implement the crx goal for the plug-in. The crx goal packages and signs a Chrome Browser Extension producing a file with a .crx extension.

Attributes:

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

Required Parameters

Name Type Since Description
crxSourceDirectory File 1.0.0 The source directory for the Chrome Extension.
Default value is: ${basedir}/src/main/chrome.
finalName String 1.0.0 The final name of the generated artifact.
Default value is: ${project.build.finalName}.
outputDirectory File 1.0.0 The build target directory.
Default value is: ${project.build.directory}.
pemFile File 1.0.0 The PEM file containing the public/private key.
Default value is: ${crxPEMFile}.

Optional Parameters

Name Type Since Description
classifier String 1.0.0 An optional classifier for the artifact.
filtering boolean 1.2.0 Specify that the CRX sources should be filtered.
Default value is: false.
filters List 1.2.0 Filters (property files) to include during the interpolation of the pom.xml.
nonFilteredFileExtensions List 1.2.0 A list of file extensions that should not be filtered if filtering is enabled.
packagingExcludes String 1.0.0 A comma separated list of exclusion rules.
packagingIncludes String 1.0.0 A comma separated list of inclusion rules.
pemPassword String 1.0.0 The password for the PEM file.
Default value is: ${crxPEMPassword}.

Parameter Details

classifier:

An optional classifier for the artifact.
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: No

crxSourceDirectory:

The source directory for the Chrome Extension.
  • Type: java.io.File
  • Since: 1.0.0
  • Required: Yes
  • Default: ${basedir}/src/main/chrome

filtering:

Specify that the CRX sources should be filtered.
  • Type: boolean
  • Since: 1.2.0
  • Required: No
  • Default: false

filters:

Filters (property files) to include during the interpolation of the pom.xml.
  • Type: java.util.List
  • Since: 1.2.0
  • Required: No

finalName:

The final name of the generated artifact.
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: Yes
  • Default: ${project.build.finalName}

nonFilteredFileExtensions:

A list of file extensions that should not be filtered if filtering is enabled.
  • Type: java.util.List
  • Since: 1.2.0
  • Required: No

outputDirectory:

The build target directory.
  • Type: java.io.File
  • Since: 1.0.0
  • Required: Yes
  • Default: ${project.build.directory}

packagingExcludes:

A comma separated list of exclusion rules.
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: No

packagingIncludes:

A comma separated list of inclusion rules.
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: No

pemFile:

The PEM file containing the public/private key.
  • Type: java.io.File
  • Since: 1.0.0
  • Required: Yes
  • Default: ${crxPEMFile}

pemPassword:

The password for the PEM file.
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: No
  • Default: ${crxPEMPassword}