是否有任何可用的插件可以集成 maven 和 equinox 运行时。?我希望我的 osgi 包能够在 Equinox 中打包、部署和运行。我正在寻找 maven 命令来执行整个控制操作(构建包、打包和部署它们)。
编辑#1 不知何故,我设法执行了 maven pax 插件。当我给出命令 mvn install pax:provision 时,出现以下错误
----------------------------------------------------
-> 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.----------------------------------------------------