update the pom to force 1.7 compile to support switch