The first thing you need to do to start researching opendaylight is to compile your project.
Because the project code is on git.opendaylight.org, the Git tool needs to be installed first.
Also because the Opendaylight project is organized with Pom.xml, MAVEN needs to be installed (preferably above 3.0), Java (1.7.0_45 above).
Here is a compilation of Openflowjava, either Windows or Linux environments.
The Openflowjava project is relatively small and more easily compiled.
1. Download Openflowjava
Using Git to download,
git clone https://git.opendaylight.org/gerrit/p/openflowjava.git
When the download is complete, go to the directory and switch the project version to RELEASE/HELIUM-SR3,
git checkout Release/helium-sr3
Here SR3 or SR2 versions can be compiled through, the master version is not stable, so the default master version is not generally compiled.
Compiling the project
Install
Here once passed.
Sometimes it may be possible to download a jar package for network reasons, cause the project to fail to compile, recompile, or wait some time for the network to recompile, or download the jar directly from the Web to the Maven repository directory.
Under Windows, it is possible that the directory is too long to cause mvn clean when the target folder under Maven is dropped under the project, resulting in a compilation failure, using 360 guards, etc., forcing the deletion of the corresponding folder, and then recompiling.
Compilation of the Openflowjava of Opendaylight