fixing warnings, min java version now is 7
added maven-compiler-plugin
Merge pull request #1 from fluig/syntax-fixes

fixing warnings, min java version now is 7