opendaylight 安裝報錯 Non-resolvable parent POM for org.opendaylight.sfc:sfc-parent

opendaylight 在執行 mvn clean install –DskipTests 時報錯。錯誤信息如下

 解決辦法:

1.確定~/.ms/中是否有setting.xml。

cp -n ~/.m2/settings.xml{,.orig}

If the command above fails it is okay. It means you do not have a settings.xml, probably it is 
the first time you are trying to use ODL.

wget -q -O - https://raw.githubusercontent.com/opendaylight/odlparent/master/settings.xml > ~/.m2/settings.xml

2.如果還是不行,說明是下載的版本在庫中已經沒有對應版本的父版本的包了,需要下載其他的版本。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章