From 0fb15f705844ae20548d1ab6db18c4b5e1d1cb71 Mon Sep 17 00:00:00 2001 From: Bobby Wang Date: Tue, 6 Feb 2024 16:28:18 +0800 Subject: [PATCH] Support scala 2.13 for xgboost samples (#348) * Support scala 2.13 * add scala version Signed-off-by: Bobby Wang * license. --------- Signed-off-by: Bobby Wang --- examples/XGBoost-Examples/agaricus/pom.xml | 6 +++--- examples/XGBoost-Examples/aggregator/pom.xml | 14 +++++++------- .../assembly/assembly-no-scala.xml | 17 ++++++++++++++++- examples/XGBoost-Examples/mortgage/pom.xml | 6 +++--- examples/XGBoost-Examples/pom.xml | 19 ++++++++++++++----- examples/XGBoost-Examples/taxi/pom.xml | 6 +++--- examples/XGBoost-Examples/utility/pom.xml | 4 ++-- 7 files changed, 48 insertions(+), 24 deletions(-) diff --git a/examples/XGBoost-Examples/agaricus/pom.xml b/examples/XGBoost-Examples/agaricus/pom.xml index ee30ec285..de6f20ec8 100644 --- a/examples/XGBoost-Examples/agaricus/pom.xml +++ b/examples/XGBoost-Examples/agaricus/pom.xml @@ -1,6 +1,6 @@ - jar-with-dependencies + jar-with-dependencies_${scala.binary.version} jar diff --git a/examples/XGBoost-Examples/mortgage/pom.xml b/examples/XGBoost-Examples/mortgage/pom.xml index 1eb2ffa32..333bc4d22 100644 --- a/examples/XGBoost-Examples/mortgage/pom.xml +++ b/examples/XGBoost-Examples/mortgage/pom.xml @@ -1,6 +1,6 @@