made cmake-maven-plugin compatible with jdk6