changed pom and fixed groovy version