Use java 1.6 and groovy instead of 1.7