Maven war Plug-in Goals dIon Gillard war Build a war file. This goal simply executes the war:war goal war:init Initialize the file system and attain any necessary goals war:war Build a war file.
This goal simply package the directory created by war:webapp goal. Additional custome content which should be included in the archive can be provided using:
<postGoal name="war:webapp">
war:webapp Build a webapp directory war:install Install the war in the local repository war:install-snapshot Install the snapshot version of the war in the local repository war:deploy Deploy the war to the remote repository(ies) war:deploy-snapshot Deploy the snapshot version of the war to the remote repository(ies) war:clean Delete all artifacts created by war plugin war:inplace Build an exploded web application into ${maven.war.src}. This allows you to mount it in your application server, and you only need to run it again for dependency and class changes, not JSP changes. This goal will not clean old dependencies - due to the dangers involved in automating this for your source tree, you must do that yourself.