camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <>
Subject [jira] Created: (CAMEL-1731) Camel does not build with maven 2.1.0
Date Thu, 18 Jun 2009 09:25:35 GMT
Camel does not build with maven 2.1.0

                 Key: CAMEL-1731
             Project: Apache Camel
          Issue Type: Bug
    Affects Versions: 1.6.1
            Reporter: Guillaume Nodet

It barfs with the following error:

[INFO] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='org.apache.camel:camel-buildtools'}'
and 'Vertex{label='org.apache.camel:camel-buildtools'}' introduces to cycle in the graph org.apache.camel:camel-buildtools
--> org.apache.camel:camel-buildtools

The problem is that the parent pom defines the checkstyle plugin and defines a dependency
on buildtools.  So when maven tries to buid buildtools, it has a dependency on itself because
it is inherited from  the parent pom.

A fix would be to define a "parent" module.   The root pom would not define the checkstyle
plugin, but this definition would be in the parent module.  The buildtool module would directly
inherit from the root pom, while all other modules inherit from the "parent" pom.

You can see how this is set up in mina:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message