Full name:
org.apache.maven.plugins:maven-jar-plugin:2.3:jar
Description:
Attributes:
runtime.package.| Name | Type | Since | Description |
|---|---|---|---|
| classesDirectory | File |
- |
Directory containing the classes and resource files that should be
packaged into the JAR. |
| finalName | String |
- |
Name of the generated JAR. Default value is: ${project.build.finalName}. |
| outputDirectory | File |
- |
Directory containing the generated JAR. |
| Name | Type | Since | Description |
|---|---|---|---|
| archive | MavenArchiveConfiguration |
- |
The archive configuration to use. See Maven
Archiver Reference. |
| classifier | String |
- |
Classifier to add to the artifact generated. If given, the artifact
will be an attachment instead. |
| excludes | String[] |
- |
List of files to exclude. Specified as fileset patterns which are
relative to the input directory whose contents is being packaged
into the JAR. |
| forceCreation | boolean |
- |
Whether creating the archive should be forced. Default value is: false. |
| includes | String[] |
- |
List of files to include. Specified as fileset patterns which are
relative to the input directory whose contents is being packaged
into the JAR. |
| useDefaultManifestFile | boolean |
2.2 |
Set this to true to enable the use of the
defaultManifestFile.Default value is: false. |
org.apache.maven.archiver.MavenArchiveConfigurationNojava.io.FileYes${project.build.outputDirectory}java.lang.StringNojava.lang.String[]Nojava.lang.StringYes${jar.finalName}${project.build.finalName}booleanNo${jar.forceCreation}falsejava.lang.String[]Nojava.io.FileYes${project.build.directory}true to enable the use of the
defaultManifestFile.boolean2.2No${jar.useDefaultManifestFile}false