fix configuration in maven and updated dist jar