Is there any plugin available that would integrate maven and equinox runtime.? I want my osgi bundles to be packaged , deployed and run in equinox. I am searching for maven commands to perform the whole controlling operations (build the bundles, package and deploy them).
EDIT #1 Somehow I managed to execute maven pax plugin. When I gave the command mvn install pax:provision I got the following error
----------------------------------------------------
-> Using only arguments from command line
-> Scan bundles from [C:\Users\661447\Desktop\Prime Workspace\OSGiDmHelloWorldP
rovider\runner\deploy-pom.xml]
-> Scan bundles from [scan-pom:file:/C:/Users/661447/Desktop/Prime Workspace/OS
GiDmHelloWorldProvider/runner/deploy-pom.xml]
-> Provision bundle [mvn:OSGiDmHelloWorldProvider/OSGiDmHelloWorldProvider/1.0,
at default start level, bundle will be started, bundle will be loaded from the
cache]
-> Provision bundle [mvn:org.apache.felix/org.osgi.core/1.4.0, at default start
level, bundle will be started, bundle will be loaded from the cache]
-> Preparing framework [Equinox 3.8.1]
-> Downloading bundles...
-> Equinox 3.8.1 : connecting...
___
/ /
/ / Oops, there has been a problem!
/ /
/__/ org.ops4j.pax.runner.platform.PlatformException: [link:classpath:run
ner-links/org.eclipse.osgi-3.8.1.link] could not be downloaded
___
/__/ Use --log=debug to see details.----------------------------------------------------
PaxRunner can help you to deploy bundles of your Maven project and run Equinox
<plugin>
<groupId>org.ops4j</groupId>
<artifactId>maven-pax-plugin</artifactId>
<version>1.4</version>
<configuration>
<framework>equinox</framework>
</configuration>
</plugin>