Minor improvements to xgboost/jvm-packages build (#2356)

* Specified 'exec-maven-plugin' version

* Changed 'create_jni.sh' to fail on error

and also report each of the executed commands, which makes it easier
to debug.
This commit is contained in:
Sergei Lebedev 2017-05-30 17:51:27 +02:00 committed by Michaël Benesty
parent b29b7d1d76
commit 433269c335
2 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e -x
echo "build java wrapper" echo "build java wrapper"
# cd to script's directory # cd to script's directory

View File

@ -40,6 +40,7 @@
<plugin> <plugin>
<artifactId>exec-maven-plugin</artifactId> <artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<version>1.6.0</version>
<executions> <executions>
<execution><!-- Run our version calculation script --> <execution><!-- Run our version calculation script -->
<id>native</id> <id>native</id>