I am new to ODL and am trying to install the carbon release using the source code mentioned in this website I somehow only get different folders inside the opendaylight folder than 'opendaylight/distribution/opendaylight/'. Can someone guide me through how to build ODL from source?
Asked
Active
Viewed 470 times
1 Answers
1
Those instructions are way out-of-date. That was back from the first release when mostly everything was in one git project, controller. Now the code is spread out in many different git projects so it depends which part you want to build. If you want to build the openflow code then git clone the openflowplugin project and 'mvn -Pq install' from the top level.

vorburger
- 3,439
- 32
- 38

Tom Pantelis
- 1,349
- 1
- 7
- 6
-
Thank you! I tried 'mvn -DskipTests install' from root , I got an error : non-readable settings /root/.m2/settings.xml: input contained no data @root/.m2/settings.xml – sushmita das Mar 22 '18 at 13:10
-
well, is your /root/.m2/settings.xml file readable? ;-) Hope you saw here how to get the custom settings.xml required by ODL, on https://wiki.opendaylight.org/view/GettingStarted:Development_Environment_Setup#Edit_your_.7E.2F.m2.2Fsettings.xml ? [And why do you run as root user instead of a regular user?] – vorburger Mar 22 '18 at 16:03
-
@vorburger : Should I also clone the odlparent project? – sushmita das Apr 03 '18 at 13:58
-
@sushmitadas no the dependencies which one ODL project has on other projects, including odlparent, get downloaded from nexus.opendaylight.org. – vorburger Apr 03 '18 at 18:51