Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

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

2 answers

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
0

answered 2017-09-18 07:27:18 -0700

I have the same issue. I clone berilluym branch, and I have settings.xml under .m2 folder. However, when I run the following commands, I get the errors below.

# export MAVEN_OPTS="-Xmx1024m"

# export M3_HOME=/usr/share/maven3

# export M3=$M3_HOME/bin

# mvn clean install –DskipTests

[INFO] Scanning for projects...

[ERROR]

[ERROR] Some problems were encountered while processing the POMs:

[FATAL] Non-resolvable parent POM for org.opendaylight.sfc:sfc-parent:0.2.5-SNAPSHOT: Could not find artifact org.opendaylight.odlparent:odlparent:pom:1.6.5-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 9, column 13 @ [ERROR] The build could not read 1 project -> [Help 1]

[ERROR]

[ERROR] The project org.opendaylight.sfc:sfc-parent:0.2.5-SNAPSHOT (/home/odl/sfc/pom.xml) has 1 error

[ERROR] Non-resolvable parent POM for org.opendaylight.sfc:sfc-parent:0.2.5-SNAPSHOT: Could not find artifact org.opendaylight.odlparent:odlparent:pom:1.6.5-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 9, column 13 -> [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/di...

[ERROR] [Help 2] http://cwiki.apache.org/confluence/di...

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
3 followers

Stats

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

Seen: 1,259 times

Last updated: Sep 18