Ask Your Question

cant see "distribution" dir under "opendaylight"

asked 2015-04-06 11:23:38 -0700

kjain gravatar image

updated 2015-04-06 11:28:03 -0700

hello I am trying to compile the opendaylight code in Ubuntu. I have installed maven and git-core and have increased the MAVEN memory. after that, I clone the code from . the code gets downloaded in "controller" dir. I see "opendaylight" dir under this. but, there is no "distribution" dir there.

when I try to run the command

mvn clean install

the command fails with pom errors. not sure if it is because of the absence of "distribution" dir

would appreciate any help in this regard



edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2015-04-06 13:18:44 -0700

gyanesh gravatar image

Hi, The Distribution folder is present inside "opendaylight" folder.


What error you are getting while doing "mvn install" . You can give a "git pull" command and try again.

edit flag offensive delete publish link more

answered 2015-04-07 05:58:51 -0700

kjain gravatar image

Thanks for the response. I understand the directory structure.

I tried Git Pull, as you have suggested. it updated from c389b6d to 43b03a8 and still no distribution under opendaylight. under controller/opendaylight, I see the following:

adsal archetype commons config md-sal netconf

Regarding the compilation error, here is the first one: Non-resolvable parent POM: Could not find artifact org.opendaylight.yangtools: binding-parent:pom:0.7.0-SNAPSHOT and "parent.relativePath" points at no local POM @ line 11 and COlumn 11 -> [Help 2]



edit flag offensive delete publish link more


The directory structure is changed little bit: >> controller/karaf/opendaylight-karaf You don't need to look for distribution folder now. The folder name is "karaf" now. Try giving "mvn clean install" inside the opendaylight-karaf folder.

gyanesh ( 2015-04-07 06:33:35 -0700 )edit

answered 2015-04-07 08:13:23 -0700

faizan gravatar image

updated 2015-04-07 08:19:53 -0700

Hi Kavita :)

The code you pulled is from master branch. (You can confirm it, in cd controller nd run "git branch" command) Code in the master branch is different as compared to "stable/helium" branch and i guess you are refering old documentations for build. Move to stable helium branch or to build the code you pulled from master branch follow steps: 1. cd controller ( Here you will find apom.xml of Controller) 2. mvn clean install -DskipTests -Dcheckstyle.skip=true ( -DskipTests -Dcheckstyle.skip=true are optional, use it if any tests are failing or for checkstyle errors) 3. To run controller, go to opendaylight-karaf's bin folder and ./karaf. a promt of Opendaylight with karaf consolewill be up.

For "pom errors" ,do you have settings.xml in your local .m2 repo ?? Follow this: Regards,


edit flag offensive delete publish link more


Thanks Faizan for the response. I will try your instructions and will let you know. Really appreciate it a lot Thanks again Kavita

kjain ( 2015-04-07 08:21:44 -0700 )edit

Thanks Faizan. it worked. when I started compiling, I ran into the issue of Maven version. after resolving that, it built successfully. Now, I am going to run ./karaf to run opendaylight. Hopefully, it will work nicely. thanks a lot Kavita

kjain ( 2015-04-07 09:39:56 -0700 )edit

@kjain Welcome :)

faizan ( 2015-04-07 10:11:05 -0700 )edit

@kjain how did you solve the Maven version issue? thanks

migmok ( 2015-08-24 08:34:30 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-04-06 11:23:38 -0700

Seen: 3,149 times

Last updated: Apr 07 '15