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.如果还是不行,说明是下载的版本在库中已经没有对应版本的父版本的包了,需要下载其他的版本。

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