Name of the generated JAR file.
Defaults to ${maven.final.name}.jar.
maven.has.jar.resource.patterns
Yes
This is a calculated property based on the value of the
]]>
section of your
project descriptor. If there are includes or excludes
elements, this property will be set to true.
maven.jar.excludes
Yes
Specifies a list of patterns to exclude from the jar process.
The default value is **/package.html, and is used
by the jar:jar goal.
maven.jar.includes
Yes
Specifies a list of patterns to include with the jar process.
The default value is null.
maven.jar.include.source
Yes
Whether the source should be included in the jar.
The default value is false.
maven.jar.index
Yes
Whether to create an index list to speed up classloading.
This is a JDK 1.3+ specific feature. Defaults to false.
maven.jar.manifest
Yes
Specifies the manifest to be used in the creation of a jar.
This file is 'merged' with the default manifest created by
Maven. Any values specified in the file referenced by this
property will override Maven's defaults.
maven.jar.manifest.classpath.add
Yes
Tells Maven to add classpath information to the jar manifest.
This can cause some applications to break, so it has been disabled by default.
Set to true to enable classpath information.
Only the dependency jars that have the property
jar.manifest.classpath set to true
will be added to the classpath information.
maven.jar.manifest.extensions.add
Yes
Tells Maven to add extension information to the jar manifest.
This can cause some applications to break, so it has been disabled by default.
Set to true to enable extension information.
maven.jar.mainclass
Yes
Specifies the Main-Class attribute for your manifest. If not set,
no Main-Class attribute will be added to the manifest.
maven.jarResources.basedir
Yes
The base directory from which resources to be included in a jar can be found.
Defaults to the base directory of the project.
maven.jar.resources.set
Yes
This is the Ant patternset of all the includes and
excludes from the
]]>
section of your
project descriptor.
maven.jar.compress
Yes
Not only store data but also compress them, defaults to true.
maven.jar.source.path
Yes
The location of the source code within the jar, if included.
The default value is src.
Property
Optional?
Description
maven.repo.central
Yes
Central repository for maven artifacts.
maven.repo.central.directory
Yes
Directory to deploy jars into on the remote repository.
maven.repo.local
Yes
The local repository to store maven artifacts, including jar file
dependencies.
maven.username
Yes
This is the user name used to log in to the remote repository.
maven.remote.group
Yes
The name of the Unix group that should own deployed artifacts.
Default to maven.
Property
Optional?
Description
maven.build.dest
Yes
The directory for compiled classes.
maven.build.dir
Yes
Used by the jar:jar goal for
a temporary manifest file, if one is not specified
the assembled jar file
maven.dependency.classpath
Yes
This property holds the Ant path of all the dependent jar
files listed in the dependencies block of your
project descriptor.
maven.final.name
Yes
Usually this property is set to ${pom.artifactId}-${pom.currentVersion}
but the snapshot goal overwrites it to be the snapshot signature.
user.name
Yes
Used by the jar:jar goal as the default value of the
Built-By attribute of the manifest if one is not specified.