| Goal | Description |
|---|---|
| jar:jar | -Launch jar:jar goal. | -
| jar:jar | -
- Creates a jar file in the Maven build directory with the
- form ${project.id}-${project.currentVersion}.jar where
- the id and currentVersion are taken from the project.xml
- of the project being built.
- |
-
| jar:snapshot | -
- Creates a jar file in the Maven build directory with the
- form ${project.id}-YYYYMMDD.hhmmss.jar where
-
|
-
| jar:deploy-snapshot | -- Deploy a snapshot jar to the remote repository - | -
| jar:deploy | -
- Deploy a jar to the remote repository. The jar is built using
- the java:jar goal
- |
-
| jar:install | -
- Install a jar into the local repository. The jar is built using
- the java:jar goal
- |
-
| jar:install-snapshot | -
- Install a jar into the local repository. The jar is built using
- the jar:snapshot goal and copied into the local
- repository as the -SNAPSHOT version.
- |
-
| clean | -
- This goal is a shortcut to the clean:clean goal
- |
-
| clean:clean | -- Removes the maven.build.dir and - maven.test.reportsDirectory directories - | -
- This plug-in provides your basic Jar facilities. -
-- For more information on the functionality provided by this plugin, - please see the Goals document. -
-- For more information on how to customise the functionality provided - by this plugin, please see the properties - document. -
-| maven.has.jar.resource.patterns | -Yes | -
- This is a calculated property based on the value of the
- 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 "java:jar" goal.
- |
-
| 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.extensions.add | -Yes | -- Tells maven to add extension information the 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 MainClass 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. - | -
| 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
-
|
-
| 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 ${project.id}-${project.currentVersion}
- but the snapshot goal overwrites it to be the snapshot signature
- |
-
| user.name | -Yes | -
- Used by the java:jar goal as the default value of the
- Built-By attribute of the manifest if one is not specified.
- |
-