Updated a plugin to build with java 1.6