Skip to content

Commit

Permalink
[jvm-packages] [CI] Publish XGBoost4J JARs with Scala 2.11 and 2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Apr 15, 2020
1 parent 8b04736 commit 3384065
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/ci_build/deploy_jvm_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ mvn --no-transfer-progress package -Dspark.version=${spark_version} -DskipTests
# deploy to S3 bucket xgboost-maven-repo
mvn --no-transfer-progress deploy -P release-to-s3 -DskipTests

# Compile XGBoost4J with Scala 2.11 too
mvn clean
sed -i -e 's/<artifactId>xgboost\(.*\)_[0-9\.]\+/<artifactId>xgboost\1_2.11/' $(find . -name pom.xml)
# Rename artifactId of all XGBoost4J packages with suffix _2.11
mvn package -Dspark.version=2.4.3 -Dscala.version=2.11.12 -Dscala.binary.version=2.11 -DskipTests
mvn --no-transfer-progress deploy -P release-to-s3 -DskipTests

set +x
set +e

0 comments on commit 3384065

Please sign in to comment.