Full name:
org.apache.maven.plugins:maven-jar-plugin:2.3.1:test-jar
Description:
Attributes:
test
.package
.Name | Type | Since | Description |
---|---|---|---|
finalName | String |
- |
Name of the generated JAR. Default value is: ${project.build.finalName} . |
outputDirectory | File |
- |
Directory containing the generated JAR. |
testClassesDirectory | File |
- |
Directory containing the test classes and resource files that
should be packaged into the JAR. |
Name | Type | Since | Description |
---|---|---|---|
archive | MavenArchiveConfiguration |
- |
The archive configuration to use. See Maven
Archiver Reference. |
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. |
skip | boolean |
- |
Set this to true to bypass unit tests entirely. Its
use is NOT RECOMMENDED, but quite convenient on occasion. |
useDefaultManifestFile | boolean |
2.2 |
Set this to true to enable the use of the
defaultManifestFile .Default value is: false . |
org.apache.maven.archiver.MavenArchiveConfiguration
No
java.lang.String[]
No
java.lang.String
Yes
${jar.finalName}
${project.build.finalName}
boolean
No
${jar.forceCreation}
false
java.lang.String[]
No
java.io.File
Yes
${project.build.directory}
skip:
true
to bypass unit tests entirely. Its
use is NOT RECOMMENDED, but quite convenient on occasion.boolean
No
${maven.test.skip}
java.io.File
Yes
${project.build.testOutputDirectory}
true
to enable the use of the
defaultManifestFile
.boolean
2.2
No
${jar.useDefaultManifestFile}
false