Using eclipse with maven plugin, how should I setup my build so it deploys to tomcat?
问题 Using eclipse with maven plugin, how should I setup my build so it deploys to tomcat? I'm not sure if I have to do this in 1 or 2 steps, but I want to compile my spring mvc (3) application and deploy to my local tomcat. Right now I just mapped the RunAs -> Maven build to a 'compile' goal type. I'm very new to do this so not sure how to setup build and deploy. My pom.xml is: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi