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

Build Error with IoTDM beryllium version

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

alwayschoco gravatar image

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

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

2 answers

Sort by » oldest newest most voted
0

answered 2017-09-18 07:27:31 -0800

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
0

answered 2017-09-25 01:48:50 -0800

The short answer is that Beryllium is no longer a supported version of OpenDaylight, and while latests source code is still available, binary SNAPSHOT artifacts are not.

You have a few options:

  • The best option is to use a newer, supported version of OpenDaylight, like Boron, Carbon, the soon to be released Nitrogen, or the current development version Oxygen.
  • If you absolutely need to use Beryllium for whatever reason, you should check out a release tag, which depends on non-SNAPTHOT artifacts.
  • Alternatively, you may try building all of OpenDaylight Beryllium from source, but I expect that would harder than any of other two options.
edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

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

Seen: 60 times

Last updated: Sep 25