Ensure plugin can run on JVM 1.7