enforce a minimum build environment of JDK 1.7 and maven 3.1.1

This may or may not work on the travis-ci build.