Ask Your Question
0

Build Error with IoTDM beryllium version

asked 2017-07-11 00:05:23 -0700

alwayschoco gravatar image

updated 2017-07-11 00:06:10 -0700

Hello,

I am a beginner of IoTDM. I tried to set the environment and build the project following the Guideline for developers: https://wiki.opendaylight.org/view/Io...startedfor_users

Below shows My environment:

OS: Ubuntu 16.04LTS

version: beryllium

java version: openjdk-8

maven: Maven 3.3.9

I got error messages below when I tried to build it ("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.iotdm:iotdm-aggregator:0.1.5-SNAPSHOT: Could not find artifact org.opendaylight.odlparent:odlparent:pom:1.6.5-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 10, column 11
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.opendaylight.iotdm:iotdm-aggregator:0.1.5-SNAPSHOT (/home/iotclass/iotdm/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.opendaylight.iotdm:iotdm-aggregator:0.1.5-SNAPSHOT: Could not find artifact org.opendaylight.odlparent:odlparent:pom:1.6.5-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 10, 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 have searched some similar questions and the resolutions didn't work for me. I have added the setting.xml to ~/.m2 and its content comes from https://raw.githubusercontent.com/ope...

How can I resolve this problem?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2017-09-18 07:27:31 -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
1 follower

Stats

Asked: 2017-07-11 00:05:23 -0700

Seen: 39 times

Last updated: Sep 18