fix warning in maven build