camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CAMEL-1731) Camel does not build with maven 2.1.0
Date Tue, 23 Jun 2009 06:55:36 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Willem Jiang resolved CAMEL-1731.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.6.2

trunk
http://svn.apache.org/viewvc?rev=786141&view=rev
camel 1.x branch
http://svn.apache.org/viewvc?rev=787565&view=rev

> Camel does not build with maven 2.1.0
> -------------------------------------
>
>                 Key: CAMEL-1731
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1731
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 1.6.1
>            Reporter: Guillaume Nodet
>            Assignee: Willem Jiang
>             Fix For: 1.6.2, 2.0.0
>
>
> 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:
>   http://svn.apache.org/repos/asf/mina/trunk/pom.xml
>   http://svn.apache.org/repos/asf/mina/trunk/legal/pom.xml
>   http://svn.apache.org/repos/asf/mina/trunk/parent/pom.xml
>   http://svn.apache.org/repos/asf/mina/trunk/core/pom.xml

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


Mime
View raw message