fix dependency issue during maven build