[英]Deploy osgi bundles to Geronimo remotly
We have some custom repository which contains different builds (set of osgi bundles). 我们有一些自定义存储库,其中包含不同的构建(一组osgi捆绑包)。 There are any Geronimo 3 remote servers.
有任何Geronimo 3远程服务器。 I should by a command get some build from repository and make hot deploy to a set of stands.
我应该通过命令从存储库中获取一些构建并将其热部署到一组机架。 It maybe existing tool or java api.
它可能是现有工具或Java API。 As I know Cargo don't work with remote Geronimo.
据我所知,Cargo无法与远程Geronimo一起使用。 I will be grateful for any suggestion.
如有任何建议,我将不胜感激。
Geronimo 3 is based on apache karaf. Geronimo 3基于apache karaf。 So the mechanisms provided by karaf may be of help.
因此,karaf提供的机制可能会有所帮助。
In both cases bundles and features can be refered with http or mvn uri. 在这两种情况下,捆绑包和功能都可以使用http或mvn uri引用。 I personally normally use the mvn uris that karaf also uses internally.
我个人通常使用karaf内部使用的mvn uris。
So the process is to first build your bundles/features to a maven repository and then trigger the install command and access the mvn repo you deployed to. 因此,该过程是首先将捆绑软件/功能构建到Maven存储库,然后触发install命令并访问部署到的mvn存储库。
You can add you own maven repo in the etc/org.ops4j.pax.url.cfg. 您可以在etc / org.ops4j.pax.url.cfg中添加自己的Maven存储库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.