Category: osgi

  • Deploying a pre-existing bundle on OSGi OBR

    Using the maven-bundle-plugin, you can deploy a preexisting jar bundle from your local maven repository to your remote OBR. For this you use the deploy-file target of the maven-bundle-plugin directly, with a command line like: mvn org.apache.felix:maven-bundle-plugin:2.4.0:deploy-file -DrepositoryId=my-repository-id -Durl=scp://url/to/my/repository -DpomFile=C:\Users\myuser\.m2\repository\com\…\the-bundle-to-deploy-1.0.0.pom where my-repository-id is the id you also use in your settings.xml for storing the access […]

  • Felix Gogo shell command examples & cheat sheet

    A short overview of frequently used Felix Gogo OSGi commands with examples. List all installed bundles on the system (nb. lb is short for list-bundles) g! lb START LEVEL 1 ID|State |Level|Name 0|Active | 0|System Bundle (4.2.1) 1|Active | 1|Apache Felix Bundle Repository (1.6.6) … Get the current framework startlevel and then sets it. When […]