Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 61113 invoked from network); 18 Jun 2009 09:25:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jun 2009 09:25:48 -0000 Received: (qmail 81849 invoked by uid 500); 18 Jun 2009 09:26:00 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 81819 invoked by uid 500); 18 Jun 2009 09:26:00 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 81809 invoked by uid 500); 18 Jun 2009 09:26:00 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 81806 invoked by uid 99); 18 Jun 2009 09:26:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 09:26:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 09:25:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 49D6D234C044 for ; Thu, 18 Jun 2009 02:25:35 -0700 (PDT) Message-ID: <615255746.1245317135296.JavaMail.jira@brutus> Date: Thu, 18 Jun 2009 02:25:35 -0700 (PDT) From: "Guillaume Nodet (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Created: (CAMEL-1731) Camel does not build with maven 2.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org 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 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.