[build] Configure the groovy build globally in the parent pom