Optional Parameters

Classifier to add to the artifact generated. If given, the artifact
will be attached. If this is not given,it will merely be written to
the output directory according to the finalName.User property is: maven.jar.classifier.

Require the jar plugin to build a new JAR even if none of the
contents appear to have changed. By default, this plugin looks to
see if the output jar exists and inputs have not changed. If these
conditions are true, the plugin skips creation of the jar. This
does not work when other plugins, like the maven-shade-plugin, are
configured to post-process the jar. This plugin can not detect the
post-processing, and so leaves the post-processed jar in place.
This can lead to failures when those plugins do not expect to find
their own output as an input. Set this parameter to true
to avoid these problems by forcing this plugin to recreate the jar
every time.Default value is: false.User property is: jar.forceCreation.

Require the jar plugin to build a new JAR even if none of the
contents appear to have changed. By default, this plugin looks to
see if the output jar exists and inputs have not changed. If these
conditions are true, the plugin skips creation of the jar. This
does not work when other plugins, like the maven-shade-plugin, are
configured to post-process the jar. This plugin can not detect the
post-processing, and so leaves the post-processed jar in place.
This can lead to failures when those plugins do not expect to find
their own output as an input. Set this parameter to true
to avoid these problems by forcing this plugin to recreate the jar
every time.