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, non-resolvable parent POM

asked 2016-03-30 22:27:28 -0800

kimguji gravatar image

updated 2016-03-30 22:29:19 -0800

I tried to build from source 'controller' and 'integration'. Controller was successfully built, but I could not build 'integration' project. I downloaded lithium stable version.

git clone -b stable/lithium https://git.opendaylight.org/gerrit/i...

And tried to install in integration folder.

mvn clean install -D skipTests

I got this error.

[ERROR] [ERROR] Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM for org.opendaylight.integration:root:0.3.2-SNAPSHOT: Failure to find org.opendaylight.odlparent:odlparent:pom:1.5.2-SNAPSHOT in http://nexus.opendaylight.org/content... was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 3, column 11

I already changed my ~/.m2/settings.xml as instruction. I tried other versions, and got similar errors.

URL specified in settings.xml, 'nexus.opendaylight.org' does not have odlparent 1.5.2-SNAPSHOT. It has 1.5.2-Lithium-SR2, 1.5.0-Lithium, 1.5.5-SNAPSHOT.

I'm a newbie in OpenDaylight and this makes me confused.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-31 02:06:14 -0800

bhavesh07 gravatar image

Try with the new settings.xml by executing the below command :

curl https://raw.githubusercontent.com/opendaylight/odlparent/master/settings.xml --create-dirs -o ~/.m2/settings.xml

While build, to skip test cases execute the below command :

mvn clean install -DskipTests

where "-DskipTests" is a single parameter.

edit flag offensive delete publish link more

Comments

Thanks for your comment, but I already set ~/.m2/settings.xml as wiki explained. I did same work to helium version and it was successful. I checked odlparent version in POM file in source code, but some of the specified versions do not exist in nexus.opendaylight.org.

kimguji ( 2016-03-31 02:29:16 -0800 )edit

Which version of OpenDaylight do you use? I also tried beryllium version and it generates same error.

kimguji ( 2016-03-31 02:29:43 -0800 )edit

I work with stable beryllium, it is working fine.

bhavesh07 ( 2016-04-04 22:03:58 -0800 )edit

It is working fine too. I downloaded and checkout lithium-SR1, and it was fine. Lithium and Beryllium(controller) both are okay. Thanks for your answer.

kimguji ( 2016-04-07 03:26:14 -0800 )edit

@kimguji If this answer is working fine then Please mark it as correct answer so that it'll be helpful for others as well.

bhavesh07 ( 2016-04-10 21:42:50 -0800 )edit
Login/Signup to Answer

Stats

Asked: 2016-03-30 22:27:28 -0800

Seen: 626 times

Last updated: Mar 31 '16