replace bash script with groovy, add to maven build
refine script and output