Full name:
org.apache.maven.plugins:maven-source-plugin:2.1.1:jar
Description:
Attributes:
2.0.3
.package
.generate-sources
prior to executing itself.Name | Type | Since | Description |
---|---|---|---|
archive | MavenArchiveConfiguration |
2.1 |
The archive configuration to use. See Maven
Archiver Reference. |
attach | boolean |
2.0.3 |
Specifies whether or not to attach the artifact to the project Default value is: true . |
excludeResources | boolean |
2.0.4 |
Specifies whether or not to exclude resources from the sources-jar.
This can be convenient if your project includes large resources,
such as images, and you don't want to include them in the
sources-jar. Default value is: false . |
excludes | String[] |
2.1 |
List of files to exclude. Specified as fileset patterns which are
relative to the input directory whose contents is being packaged
into the JAR. |
finalName | String |
2.0.3 |
The filename to be used for the generated archive file. For the
source:jar goal, "-sources" is appended to this filename. For the
source:test-jar goal, "-test-sources" is appended. Default value is: ${project.build.finalName} . |
forceCreation | boolean |
2.1 |
Whether creating the archive should be forced. If set to true, the
jar will always be created. If set to false, the jar will only be
created when the sources are newer than the jar. Default value is: false . |
includePom | boolean |
2.1 |
Specifies whether or not to include the POM file in the
sources-jar. Default value is: false . |
includes | String[] |
2.1 |
List of files to include. Specified as fileset patterns which are
relative to the input directory whose contents is being packaged
into the JAR. |
outputDirectory | File |
2.0.3 |
The directory where the generated archive file will be put. Default value is: ${project.build.directory} . |
useDefaultExcludes | boolean |
2.1 |
Exclude commonly excluded files such as SCM configuration. These
are defined in the plexus FileUtils.getDefaultExcludes() Default value is: true . |
useDefaultManifestFile | boolean |
2.1 |
Set this to true to enable the use of the
defaultManifestFile . Default value is: false . |
org.apache.maven.archiver.MavenArchiveConfiguration
2.1
No
boolean
2.0.3
No
${attach}
true
boolean
2.0.4
No
${source.excludeResources}
false
java.lang.String[]
2.1
No
java.lang.String
2.0.3
No
${project.build.finalName}
boolean
2.1
No
${source.forceCreation}
false
boolean
2.1
No
${source.includePom}
false
java.lang.String[]
2.1
No
java.io.File
2.0.3
No
${project.build.directory}
boolean
2.1
No
true
true
to enable the use of the
defaultManifestFile
. boolean
2.1
No
false