我在Sakai Development Environment Setup Walkthrough按照此说明操作。
我使用了2.9.x Sakai版本。
在步骤11-C:
执行mvn -Pcafe clean install以构建最小版本(cafe) 使用maven的Sakai。
我有一个错误:
[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
它给了我错误。
请帮忙解决。
答案 0 :(得分:1)
Sakai的'cafe'构建资料不再保留。做一个完整的构建。当您构建了所有内容之后,您可以构建您修改的单个模块,并且速度很快。
Sakai的启动时间现在不到30秒,所以咖啡馆的构建并没有真正给予太多(它曾经用于处理器速度较慢,构建需要一个小时,启动需要几分钟)。