Eclipse 如何将Maven依赖项添加到我的OSGi捆绑包插件依赖项中?

Eclipse 如何将Maven依赖项添加到我的OSGi捆绑包插件依赖项中?,eclipse,eclipse-plugin,maven-3,osgi-bundle,Eclipse,Eclipse Plugin,Maven 3,Osgi Bundle,我正在构建一个e(fx)clipse应用程序。e(fx)clipse基于他的osgi包的equinox。我现在创建了一个bundle,在他的pom.xml中我有以下内容: <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-guice</artifactId> <version>1.2.2</version> </depend

我正在构建一个e(fx)clipse应用程序。e(fx)clipse基于他的osgi包的equinox。我现在创建了一个bundle,在他的pom.xml中我有以下内容:

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

org.apache.shiro
西罗·吉塞
1.2.2
在我的插件(包)中,我想导入shiro包,但我不能!因为eclipse osgi框架无法将maven依赖项作为插件检测到


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

转到windows首选项Maven,在启动时检查下载存储库索引更新,然后重新启动

如果你提交了损坏的下载,请通过

find ~/.m2  -name "*.lastUpdated" -exec grep -q "Could not transfer" {} \; -print -exec rm {} \;
如果两者都不起作用呢