2016-06-17 13 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

ありがとうございます。今働いている。 –

関連する問題