问题描述
我正在使用maven和eclipse将我的项目转换为OSGI软件包。 Maven构建的东西很好,只有我在Eclipse中得到上面的错误。如何找出哪个项目导致这个?有什么特别的意见吗?如何发生这种情况,我会期望maven可以检测循环依赖性?
I'm in the process of converting my projects to OSGI bundles using maven and eclipse. Maven builds the stuff just fine, only I get the above error now within Eclipse. How can I find out which project causes this? Is there a special view or something? How can this happen, I would expect that maven can detect cyclic dependencies as well?
更新
好的,我发现了一些
和
Ok, I found somethinghereandhere
这可能是由felix maven-bundle-plugin引起的,对于每个导出也可以导入?
Could this be caused by the felix maven-bundle-plugin which does for each export also an import?
推荐答案
p>在Eclipse工具中将循环依赖项标记为警告,以避免在BUILD PATH中检测到一个CYCLE。
Mark circular dependencies as "Warning" in Eclipse tool to avoid "A CYCLE WAS DETECTED IN THE BUILD PATH" error.
在Eclipse中,转到:
In Eclipse go to:
Windows - >首选项 - > Java->编译器 - >构建 - >循环依赖关系
Windows -> Preferences -> Java-> Compiler -> Building -> Circular Dependencies
这篇关于在项目xxx - 构建路径问题的构建路径中检测到一个周期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!