Adapted the pom to support tomcat7 deployment