opendaylight 安装报错 Non-resolvable parent POM for org.opendaylight.sfc:sfc-parent

opendaylight 在执行 mvn clean install –DskipTests 时报错。错误信息如下

opendaylight 安装报错 Non-resolvable parent POM for org.opendaylight.sfc:sfc-parent_第1张图片

 解决办法:

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

你可能感兴趣的:(网络,opendaylight)