是否有任何插件可用於集成Maven和Equinox運行時。我希望將我的osgi捆綁包打包,部署並在equinox中運行。我正在尋找maven命令來執行整個控制操作(構建包,打包和部署它們)。Maven Equinox插件
編輯#1 不知何故,我設法執行maven pax插件。當我把命令MVN安裝PAX:規定我有以下錯誤
----------------------------------------------------
-> 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.----------------------------------------------------
你好Dmytro Pishchukhin。感謝你的回答。你能給我一些關於通過maven命令使用pax的教程鏈接嗎?該pax網站已關閉,因此我無法檢查它 – 2013-03-19 05:49:53
我設法執行代碼。即使我得到一個錯誤。我編輯了我收到的錯誤的問題。請幫我解決它。 – 2013-03-19 06:29:38
https://github.com/dpishchukhin/org.knowhowlab.osgi.workshop2012 - 使用pax runner測試項目。開始:使用「mvn install」構建項目,然後使用「mvn -P run -Dosgi.framework = equinox」運行它 – 2013-03-19 06:34:53