Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Developing an application on odl

asked 2016-05-17 04:18:41 -0700

Prathibha gravatar image

i want to write application on Beryllium opendaylight (MD-SAL architecture) this is my first application, i tried to build and deploy simple example project but i failed to do that...

can some one provide detail step by step to procedure?

Thanks in advance

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-05-17 04:30:13 -0700

karthik330 gravatar image


Go through this link . And try! . What problem are you facing at simple example project? make sure your maven,java are set properly. If you are behind proxy, set proxy details in m2/settings.xml . I believe simply copy pasting the above link mvn archetype should generate the project structure as well its compilation will be success.

edit flag offensive delete publish link more


Thanks for the quick response.. -->i am referring same link but i am not able build both example as well as hello project provided in that link. -->setting.XML file is proper, i added proxy details also.. -->mvn clean install command failed

Prathibha ( 2016-05-17 04:38:54 -0700 )edit

[ERROR] urls[0] = file:/root/.m2/repository/org/opendaylight/yangtools/yang-maven-plugin/1.0.0-SNAPSHOT/yang-maven-plugin-1.0.0-SNAPSHOT.jar [ERROR] urls[1] = file:/root/.m2/repository/org/opendaylight/mdsal/maven-sal-api-gen-plugin/0.9.0-SNAPSHOT/maven-sal-api-gen-plugin-0.9.0-SNAPSHOT.jar

Prathibha ( 2016-05-17 04:42:32 -0700 )edit

Are you running maven as sudo user?

karthik330 ( 2016-05-17 05:25:11 -0700 )edit

yes.. my maven repo is not there under ~/.m2/ only settings.xml is there where is maven repo?

Prathibha ( 2016-05-17 22:16:22 -0700 )edit

Run maven without sudo, since your .m2 is in your home not in root. In future add the errors you are facing for better answers.

smshahabudeen ( 2016-05-17 22:32:36 -0700 )edit

answered 2016-05-20 06:47:58 -0700

medox gravatar image

REST api using java for adding flows in ODL

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

Question Tools

1 follower


Asked: 2016-05-17 04:18:41 -0700

Seen: 749 times

Last updated: May 20 '16