Reply to comment
Using the eclipse WTP with maven
I use eclipse and maven. Instead of manually configuring my classpath in eclipse to match my maven project, I can have maven automagically generate all my eclipse files that I need to run my war file with the WTP (Web Tools Project).
I run the following at the command line, refresh my project in eclipse, and voila, my project is configured to run in eclipse.
mvn -Dwtpversion=1.5 eclipse:eclipse
