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.