Ask Your Question
0

fail to build controller source code

asked 2015-03-17 02:06:06 -0700

yanboyuan gravatar image

Host Configuration: Ubuntu14.04LTS, maven 3.2.5, jdk 1.7+

After downloading controller folder, I type this as follow:

cd controller mvn clean install

and there are the printed information:

[INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR]
[ERROR] The project org.opendaylight.controller:opendaylight-karaf-empty:1.5.0-SNAPSHOT (/home/yby/graduation/controller/karaf/opendaylight-karaf-empty/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.opendaylight.controller:karaf-parent:pom:1.5.0-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 3, 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 [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

I don't know what should I do, please give me some tips. Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-03-17 02:14:25 -0700

faizan gravatar image

Hi yanboyuan

Do you have settings.xml into your local repo ?

Refer this : https://lists.opendaylight.org/pipermail/controller-dev/2015-January/007682.html

Regards,

Faizan

edit flag offensive delete publish link more

Comments

Thanks very much! BTW, It confuses me that what is the order building projects such as controller, odlparent, integration, openflowjava, openflowplugin... And what is the relationship among them. I can get some information from opendaylight.org, but I can not find the details about code. Can you give me a link?

yanboyuan ( 2015-03-17 04:39:27 -0700 )edit

Hope you able to build your code now :) Plz accept the answer by click on up arrow. And there is not a single point of information of which i can send you a link. You can refer Wiki page of opendaylight.

faizan ( 2015-03-17 04:48:42 -0700 )edit

Build Success, but a lot of model are skipped. The output shows as blow: [INFO] sal-rest-connector-config .......................... SKIPPED [INFO] netconf-subsystem .................................. SKIPPED Which page on wiki can I read to resolve problem like this?

yanboyuan ( 2015-03-17 06:26:34 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
3 followers

Stats

Asked: 2015-03-17 02:06:06 -0700

Seen: 1,199 times

Last updated: Mar 17 '15