I shortly developed a module/bundle/application (whatever it is truly called) to use with the hydrogen release. I used to build my project with maven and move the bundled .jar to my controllers /plugins folder in order to install/start/stop my application via the osgi console.

No i would like to move on to the helium release (Helium SR1 Download from the website).

My problem now is that i don't really know what to do with my application in order to use it within the helium release.

Thank you in advance, again!

UPDATE:

I tried to install my bundle using the command provided in link in the answer.

Comments

You should also install your missing dependencies, in this case org.apache.felix.dm. You have to find where is each of the dependencies in your maven repository, which for ubuntu is in home/.m2/repository
By the way, are you using karaf or the base distribution?

So do have to copy the .jar files from my maven repo manually into the deploy folder? Which file from the repository? In my case there is no org.apache.felix.dm. However, there is a ./org/apache/felix/org.apache.felix.dependencymanager which i guess is just what i need. Now how can i install this?

Further: What is the difference between base and karaf? I got the SR1 Release from the homepage and start it via ./bin/karaf - if that is what you mean? And last but not least: Did i invoke the bundle:install correctly? Am i supposed to point it at the built .jar with file: like in hydrogen?

I am not sure at all, but I think you should have to add this dependency to your pom before doing mvn clean install. Then add it via bundle:install -s mvn:org.apache... and finally doing the same thing with your plugin.

Also, you don't have to point to the local file of your bundle. There should be a similar one inside .m2/repository, so then you should be able to do something like bundle:install -s mvn:org.someRandomPath/morePath/test_application-0.5.0-SNAPSHOT.

2 answers

I think the first thing you should do is try to add your bundle directly into helium release and see if that works. Please refer to this post Plugins in helium-sr1 for that.

If you can't install your bundle, that may be because you have some missing dependencies you have to install before adding your bundle.

Let me know if it works and if not, feel free to write back so we can help you fixing it.

Note: just in case you are not aware of how karaf works, you should launch distribution-karaf-0.2.1-Helium-SR1/bin/karaf (or distribution-karaf-0.2.1-Helium-SR1/karaf/target/assembly/bin/karaf if you're using the distribution inside openflowplugin). That should open karaf console for you, where you can install your bundle and all the dependencies.