【发布时间】:2014-10-12 17:10:29
【问题描述】:
按照学生管理器示例,我设法准备 WSO2 功能(服务器 + ui + 聚合)并生成 p2 存储库。
由于缺少依赖项而无法安装聚合功能,例如我的 xxx.analyzer 组件(以及后来的一些 Apache Commons 库):
Cannot complete the install because one or more required items could not be found.
Software being installed: My Manager Aggregate Feature 1.0.0 (xxx.mgt.feature.group 1.0.0)
Missing requirement: xxx.mgt 1.0.0 (xxx.mgt 1.0.0) requires 'package xxx.analyzer 0.0.0' but it could not be found
Cannot satisfy dependency:
From: My Manager Aggregate Feature 1.0.0 (xxx.mgt.feature.group 1.0.0)
To: xxx.mgt.server.feature.group [1.0.0]
我的包安装在本地 M2_REPO 中。 当我直接将它们安装到 WSO2 OSGi 控制台命令行中时,它们可以正常工作。
如何将它们包含到功能中?
【问题讨论】: