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

Revision history [back]

click to hide/show revision 1
initial version

Technically, karthik330's answer as well as jdavid's are correct. But since I had a lot of trouble figuring out what to do with the information I got from here, I want to write up what I learned and did to finally get it to work.

If you want to use a stable OpenDaylight release, such as Beryllium-SR2, and integrate your own module, located on your local machine, you need to do and understand the following:

You have to make sure, that the version of the archetype you are using for creating your project matches the version of the OpenDaylight you want to integrate your project into. In this link you can find all the ressources your OpenDaylight downloads on build. If you want to use a OpenDaylight release (without SNAPSHOTs) you can find a list of archetypes to use from here

Next you need to know, that you can't/shouldn't use the pre-build version of OpenDaylight you can find on their website, if you want to integrate your own project into it, because you have to edit the OpenDaylight BEFORE it is build.

Therefore, you can go to here, select your preferred release version (for example Beryllium-SR2) and download the source code of what is called "integration-distribution".

Now comes the time to follow the steps karthik330 and jdavid described.

Step 1: go to integration-distribution/features-index/pom.xml and add a dependency to your project.

For example:

<dependency< p="">


Step 2: go to integration-distribution/features-index/src/main/resources/features.xml and add the repository location of your project to the list.

In our example:

< repository > mvn:org.opendaylight.welcome/welcome-features/1.0.0-SNAPSHOT/xml/features < /repository >

After that, you run mvn clean install in the integration-distribution-Folder after which you can start your karaf by running ./karaf in integration-distribution/distribution-karaf/target/assembly/bin.

Now the last thing you have to do is installing your feature by running feature:install odl-welcome in your karaf-shell.

If you run into any version mismatches now you did not use the correct combination of archetype and OpenDaylight-Version.

Good luck!