Fix issue in maven build