fix mvn compilation errors