我想从源代码构建alfresco-repository JAR。
我克隆了https://github.com/Alfresco/alfresco-repository并运行了自述文件的Building部分中指定的命令:
$ mvn clean install
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.alfresco:alfresco-repository:6.21-SNAPSHOT: Failure to find org.alfresco:alfresco-super-pom:pom:9 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 8, column 13
我做错了什么?
答案 0 :(得分:3)
README没有说出来,但你必须在之前(在任何目录中)执行此操作:
git clone git@github.com:Alfresco/alfresco-super-pom.git
cd alfresco-super-pom
mvn install
然后可以成功建立alfresco-repository。