Signs a JAR using jarsigner.
Mojo Attributes:
runtimepackage| Name | Type | Description |
|---|---|---|
| alias | String |
See options. |
| finalName | String |
Name of the generated JAR (without classifier and extension). |
| workingDirectory | File |
The working directory in which the jarsigner executable will be run. Default value is ${basedir}. |
| Name | Type | Description |
|---|---|---|
| classifier | String |
Classifier to use for the generated artifact. If not specified, the generated artifact becomes the primary artifact. |
| jarPath | File |
Path of the jar to sign. When specified, the finalName is ignored. Default value is ${project.build.directory}/${project.build.finalName}.${project.packaging}. |
| keypass | String |
See options. |
| keystore | String |
See options. |
| projectHelper | MavenProjectHelper |
No description. |
| sigfile | String |
See options. |
| signedjar | File |
See options. Not specifying this argument will sign the jar in-place (your original jar is going to be overwritten). |
| skip | boolean |
Set this to true to disable signing.
Useful to speed up build process in development environment. Default value is false. |
| storepass | String |
See options. |
| type | String |
See options. The corresponding option in the command line is -storetype. |
| verbose | boolean |
Enable verbose.
See options. Default value is false. |
| verify | boolean |
Automatically verify a jar after signing it.
See options. Default value is false. |
See options.
java.lang.StringYes${alias}java.lang.StringNo${classifier}java.lang.StringYes${project.build.finalName}java.io.FileNo${project.build.directory}/${project.build.finalName}.${project.packaging}java.lang.StringNo${keypass}java.lang.StringNo${keystore}org.apache.maven.project.MavenProjectHelperNojava.lang.StringNo${sigfile}java.io.FileNo${signedjar}true to disable signing.
Useful to speed up build process in development environment.
booleanNo${maven.jar.sign.skip}falsejava.lang.StringNo${storepass}java.lang.StringNo${type}booleanNo${verbose}falsebooleanNo${verify}falsejava.io.FileYes${workingdir}${basedir}