add encoding configuration in maven resource/compile plugin