A cycle was detected in the build path of project xxx - Build Path Problem

bundle, eclipse, java, maven-2, osgi

Solution

Mark circular dependencies as "Warning" in Eclipse tool to avoid "A CYCLE WAS DETECTED IN THE BUILD PATH" error.

In Eclipse go to:

Windows -> Preferences -> Java-> Compiler -> Building -> Circular Dependencies

Problem

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? Update Ok, I found something here and here Could this be caused by the felix maven-bundle-plugin which does for each export also an import?

Original source