Exploaded WAR with Maven and Eclipse

The aim: setup a maven war project and JBoss7/WildFly so that the only thing needed to see your changes is touch my.war.dodeploy and F5 in the browser. Setting up Maven First thing to do is to setup outputDirectory, so that Eclipse will put the class files instantly in the right place: <project> <build> <outputDirectory>${basedir}/src/main/webapp/WEB-INF/classes</outputDirectory> ... Now you need to update Eclipse .project file: mvn eclipse:eclipse If you haven’t done that already, now’s the time to do File > Import > Existing Projects into Workspace in Eclipse. [Read More]