再会
我正在 ubuntu lts 18.04 上安装 dspace 6.3,但是当我编译 maven 包时,它显示 BUILD FAILURE。可能是什么问题,请帮忙!!
JDK 是最新的,maven 也是最新的
提前致谢
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.108 s
[INFO] Finished at: 2019-11-18T02:26:19-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/home/becsadspace). Please verify you invoked Maven from the correct directory. -> [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/MissingProjectException
答案1
这是一个简单的修复。您只需要在运行 mvn 命令之前导航到 dspace 目录即可。
根据以上消息,我推测它位于 /home/becsadspace/dspace 中。