0

我正在构建 ae(fx)clipse 应用程序。e(fx)clipse 基于 Equinox 的 osgi 包。我现在创建了一个包并进入他的 pom.xml 我有这个:

<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-guice</artifactId>
<version>1.2.2</version>
</dependency>

在我的插件(捆绑包)中,我想导入 shiro 捆绑包这里,但我不能!因为 Eclipse osgi 框架无法将 maven 依赖项检测为插件。

如何自动将我的 Maven 依赖项添加到我的清单路径中,以便我可以将其导入我的包中?

4

1 回答 1

0

转到 windows-preference-maven 并在启动时检查下载存储库索引更新并重新启动它以发生..

如果您提交了损坏的下载,请通过以下方式删除它们

find ~/.m2  -name "*.lastUpdated" -exec grep -q "Could not transfer" {} \; -print -exec rm {} \;

如果两者都不起作用,试试这个

于 2013-11-13T04:43:21.237 回答