add <source>1.6</source>  <target>1.6</target>  to pom.xml