set correct encoding and exclude target dir (previously causing jar to be 2Gb!)