update so that it builds with Java 7 target and no snapshot versions.