Apache Maven 1.x has reached its end of life, and is no longer supported. For more information, see the announcement. Users are encouraged to migrate to the current version of Apache Maven.

Goals

GoalDescription
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 DEPRECATED. Please use jar:deploy-snapshot or jar:install-snapshot

Creates a jar file in the Maven build directory with the form ${project.id}-YYYYMMDD.hhmmss.jar where
  • id - taken from the project.xml of the project being built
  • YYYYMMDD - The current year in 8 digit format
  • hhmmss - the current time in 6 digit format
jar:deploy-snapshot Deploy a snapshot jar to the remote repository. DEPRECATED: use jar:deploy with -SNAPSHOT in the project version for equivalent behaviour.
jar:deploy Deploy a jar to the remote repository. The jar is built using the jar:jar goal.
jar:install Install a jar into the local repository. The jar is built using the jar:jar goal.
jar:install-snapshot Install a snapshot into the local repository. The jar is built using the jar:jar goal and copied into the local repository as the -SNAPSHOT version. DEPRECATED: use jar:install with -SNAPSHOT in the project version for equivalent behaviour.