[jvm-packages] fix the pattern in dev script and version mismatch (#3009)

* add back train method but mark as deprecated

* add back train method but mark as deprecated

* fix scalastyle error

* fix scalastyle error

* fix the pattern in dev script and version mismatch
This commit is contained in:
Nan Zhu
2018-01-06 06:59:38 -08:00
committed by GitHub
parent bf43671841
commit 9747ea2acb
4 changed files with 4 additions and 4 deletions

View File

@@ -41,4 +41,4 @@ export -f sed_i
BASEDIR=$(dirname $0)/..
find "$BASEDIR" -name 'pom.xml' -not -path '*target*' -print \
-exec bash -c \
"sed_i 's/(<artifactId>(xgboost-jvm|xgboost4j-.*)<\/artifactId>\s+<version)>'$FROM_VERSION'(<\/version>)/\1>'$TO_VERSION'\3/g' {}" \;
"sed_i 's/(<artifactId>(xgboost-jvm|xgboost4j.*)<\/artifactId>\s+<version)>'$FROM_VERSION'(<\/version>)/\1>'$TO_VERSION'\3/g' {}" \;