Typo's fixed.
Added maven compiler plugin to compile at 1.7 language level