nUseful Maven 2 lifecycle phases:
ngenerate-sources: Generates any extra
source code needed for
the application, which is generally accomplished using the appropriate plug-ins
ncompile:
Compiles the project source code
ntest-compile: Compiles the project unit tests
ntest: Runs the unit tests (typically using JUnit)
in the src/test directory
npackage:
Packages the compiled code in its distributable format (JAR, WAR, etc.)
nintegration-test: Processes and deploys the package if necessary into an environment where integration tests can be run
ninstall:
Installs the package into the local repository
for use as a dependency in other projects
on your local machine
ndeploy:
Done in an integration or release environment,
copies the final package to the remote
repository for sharing with other developers
and projects
n