[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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' {}" \;

View File

@ -26,7 +26,7 @@
<dependency>
<groupId>ml.dmlc</groupId>
<artifactId>xgboost4j</artifactId>
<version>0.7</version>
<version>0.8-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>

View File

@ -24,7 +24,7 @@
<dependency>
<groupId>ml.dmlc</groupId>
<artifactId>xgboost4j</artifactId>
<version>0.7</version>
<version>0.8-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>

View File

@ -9,7 +9,7 @@
<version>0.8-SNAPSHOT</version>
</parent>
<artifactId>xgboost4j</artifactId>
<version>0.7</version>
<version>0.8-SNAPSHOT</version>
<packaging>jar</packaging>
<dependencies>