我按照 Sakai Development Environment Setup Walkthrough 中的说明进行操作.
我用的是 2.9.x Sakai 版本。
在第 11-C 步:
Execute mvn -Pcafe clean install to build the minimal version (cafe) of Sakai using maven.
我有一个错误:
[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
它给了我错误。
请帮忙解决。
最佳答案
不再维护 Sakai 的“咖啡馆”构建配置文件。只是做一个完整的构建。构建完所有内容后,您可以构建您修改的单个模块,这会很快。
Sakai 的启动时间现在不到 30 秒,所以 cafe 构建不再真正提供太多(过去处理器速度较慢,构建需要一个小时,启动需要几分钟 :)
关于maven - 报错【求助1】Sakai 2.9.x 安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26482289/