我在Sakai Development Environment Setup Walkthrough上遵循此说明。
我使用了2.9.x Sakai版本。
在步骤11-C:
执行mvn -Pcafe全新安装以构建最低版本(cafe)
使用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的“ cafe”构建配置文件不再维护。只是做一个完整的构建。构建完所有内容之后,您可以构建要修改的单个模块,这将很快。
Sakai的启动时间现在不到30秒,因此咖啡馆的构建并没有付出太多(过去当处理器速度较慢时,构建需要一个小时,而启动则需要几分钟:)