make sure that TestGroovyDeployment runs only on Java 7