Misc build improvements:

* Specifying all plug-in versions
* Don't import types from transitive dependencies
* Making sure only Java 6 APIs are used