目录
根据OpenDaylight 官网教程一步一步实践过程中遇到到部分问题或心得记录下来。官网教程链接如下:Developing apps on the OpenDaylight controller — OpenDaylight Documentation Phosphorus documentation
问题1 配置Settings.xml
描述:无法打开https://raw.githubusercontent.com/opendaylight/odlparent/master/settings.xml
解决办法:使用odlparent/settings.xml at master · opendaylight/odlparent · GitHub,里面主要声明两个profile,把这个和原本自己的settings.xml合并即可。
<?xml version="1.0" encoding="UTF-8"?>
<!-- vi: set et smarttab sw=2 tabstop=2: -->
<!--
Copyright (c) 2014, 2015 Cisco Systems, Inc. and others. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html
-->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>opendaylight-release</id>
<repositories>
<repo