You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2009/06/18 11:25:35 UTC

[jira] Created: (CAMEL-1731) Camel does not build with maven 2.1.0

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.


[jira] Assigned: (CAMEL-1731) Camel does not build with maven 2.1.0

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang reassigned CAMEL-1731:
-----------------------------------

    Assignee: Willem Jiang

> 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
>
> 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.


[jira] Updated: (CAMEL-1731) Camel does not build with maven 2.1.0

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadrian Zbarcea updated CAMEL-1731:
-----------------------------------

    Fix Version/s:     (was: 2.0.0)
                   2.0-M3

> 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-M3
>
>
> 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.


[jira] Resolved: (CAMEL-1731) Camel does not build with maven 2.1.0

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ 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.