Modified to include Maven compiler plugin, set to
compiler to use java 1.7