fix maven 3.1.x build error