I am trying to use OSGi and maven to develop an standard alone application.
I have the following osgi dependency in pom.xml
&l
The dependency you added is the OSGi Core API.
You need an implementation like equinox, felix or knopflerfish.
E.g.:
Instead of adding the dependency you mentioned, add
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.main</artifactId>
<version>5.6.2</version>
</dependency>