Had to upgrade to maven-war-plugin version 2.3 for it to work with java 7