In order to solve the problem that xgboost-spark only supports two classifications and does not support multiple classifications.
Source code changes refer to:
1. Install cmake
Version 3.2 and above
tar -xzvf cmake-3.6.2.tar.gz
cd cmake-3.6.2
./bootstrap
gmake
gmake install
2, maven (abbreviation)
3、jvm-packages
mvn clean package -DskipTests