0

我按照Sakai 开发环境设置演练中的说明进行操作。

我用的是 2.9.x Sakai 版本。

在步骤 11-C:

执行 mvn -Pcafe clean install 以使用 maven 构建 Sakai 的最小版本(cafe)。

我有一个错误:

[ERROR] Failed to execute goal on project kernel-deploy: Could not resolve depen
dencies for project org.sakaiproject:kernel-deploy:pom:2.9-SNAPSHOT: Could not f
ind artifact org.sakaiproject.entitybroker:entitybroker-assembly:zip:tomcat-over
lay:1.5.4-SNAPSHOT in sakai-maven2-snapshots (http://source.sakaiproject.org/mav
en2-snapshots) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :kernel-deploy

我试过 mvn clean install它给了我错误。

请帮忙解决。 在此处输入图像描述

4

1 回答 1

1

Sakai 的“咖啡馆”构建配置文件不再维护。只做一个完整的构建。当您构建完所有内容后,您可以构建您修改的单个模块,这将很快。

Sakai 的启动时间现在不到 30 秒,所以 cafe 构建并没有真正提供太多(过去处理器速度较慢时,构建需要一个小时,启动需要几分钟 :)

于 2014-10-22T10:31:22.660 回答