Added version for plugin.
Added Closeable support for Java 7.