Added Maven Compiler plugin. Use 1.6 for -source and -target.