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

Maven build of Opendaylight Helium code

asked 2016-05-03 07:40:45 -0700

KushalKumar gravatar image

updated 2016-05-03 07:41:51 -0700

Hi ,

I have been persistently trying to build ODL Helium github code.

I cloned the repository using this command : git clone -b stable/helium https://github.com/opendaylight/contr...

Also, I have used the settings.xml file as mentioned in ODL wiki, but my maven build (mvn clean install -DskipTests) fails because of the below mentioned error.

Non-resolvable parent POM for org.opendaylight.controller:commons.opendaylight:1.4.7-SNAPSHOT: Failure to find org.opendaylight.odlparent:odlparent:pom:1.4.7-SNAPSHOT in https://nexus.opendaylight.org/conten... .

Now, if I look for 1.4.7-SNAPSHOT of odlparent in NEXUS repository, I do not find it. link text

Please guide me how can I build this code.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-05-03 09:03:20 -0700

Linux Foundation Staff

SNAPSHOT versions of artifacts only exist in our Nexus system for a limited amount of time (max 3 weeks). As we're well past that version of artifact you either have to build all the dependencies needed locally to get the SNAPSHOT, or a better option would be to checkout the tagged version which should be depending on released artifacts which do not get deleted from Nexus.

Therefore a better way of doing the clone would be:

git clone https://github.com/opendaylight/controller.git
cd controller
git checkout -b release/helium-sr4 release/helium-sr4

This will get you a checkout of the most recent helium service release which does not have SNAPSHOT versions as dependencies.

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

Question Tools

Follow
1 follower

Stats

Asked: 2016-05-03 07:40:45 -0700

Seen: 83 times

Last updated: May 03 '16