Updated pom and application context for .war support