The problem:
Your project creates a war or jar that you would like to have in your local repository so that another project can include it as a dependency.
The solution:
The maven install command will get the job done. You can run this by typing 'mvn install'. When you do this your project gets built and packaged like normal, and then the jar, war, or whatever artifact your project builds gets put into your local repository. Once in your local repository your artifact becomes available to other projects being built on your machine. To get the artifact in other projects include it's information in a 'dependency' element in your pom.