2016-06-17 6 views
0

나는이를 구축 할 때ODL sdn 컨트롤러 코드를 빌드 할 수 없습니다.

git clone https://git.opendaylight.org/gerrit/p/integration/distribution.git 

를 사용하여 코드를 다운로드 한, 그것은 오류 다음 보여줍니다.

[INFO] Scanning for projects... 
[ERROR] [ERROR] Some problems were encountered while processing the POMs: 
[FATAL] Non-resolvable parent POM for org.opendaylight.integration:root:0.5.0-SNAPSHOT: Could not find artifact org.opendaylight.odlparent:odlparent:pom:1.7.0-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 4, column 11 
@ 
[ERROR] The build could not read 1 project -> [Help 1] 
[ERROR] 
[ERROR] The project org.opendaylight.integration:root:0.5.0-SNAPSHOT (/home/controller/distribution/pom.xml) has 1 error 
[ERROR]  Non-resolvable parent POM for org.opendaylight.integration:root:0.5.0-SNAPSHOT: Could not find artifact org.opendaylight.odlparent:odlparent:pom:1.7.0-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 4, column 11 -> [Help 2] 
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 
[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 read the following articles: 
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException 

답변

0

예, settings.xml을 업데이트해야합니다. (동일한 결과 마치 이상)으로 업데이트하는 다른 방법은 :

실행이 터미널에서 : 스테판 의해 제안
cp -n ~/.m2/settings.xml{,.orig} ; \wget -q -O - https://raw.githubusercontent.com/opendaylight/odlparent/master/settings.xml > ~/.m2/settings.xml

경로는 OS에 기초하여 상이 할 수있다. 그에 맞게 변경하십시오.

+0

감사합니다. 그 지금 일하고있어. –