remove target dir and add the built jar to root dir