Yuming Wang created HIVEMALL-28:
-----------------------------------
Summary: Failed to copying ./lib/libxgboost4j.* due to unbound
variable HIVEMALL_HOME
Key: HIVEMALL-28
URL: https://issues.apache.org/jira/browse/HIVEMALL-28
Project: Hivemall
Issue Type: Bug
Reporter: Yuming Wang
Build command:
{code}
mvn clean package -Pcompile-xgboost
{code}
Exception:
{noformat}
cp: cannot create regular file `./xgboost/src/main/resources/lib/': No such
file or directory
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Hivemall .................................... FAILURE [02:37 min]
[INFO] Hivemall Core ...................................... SKIPPED
[INFO] Hivemall NLP ....................................... SKIPPED
[INFO] Hivemall XGBoost Integration ....................... SKIPPED
[INFO] Hivemall Mix Server ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:38 min
[INFO] Finished at: 2017-01-19T17:35:51+08:00
[INFO] Final Memory: 12M/300M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec
(native) on project hivemall: Command execution failed. Process exited with an
error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
{noformat}
The reason is that the path is not correct when {{cp ./lib/libxgboost4j.*
"$HIVEMALL_LIB_DIR"}} .
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)