Fix Maven build error

standalone "mvn package" results in a build error

(use -source 5 or higher to enable annotations)
(use -source 5 or higher to enable generics)
(use -source 5 or higher to enable for-each loops)