[
http://jira.codehaus.org/browse/MNG-4074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=173925#action_173925
]
John Casey commented on MNG-4074:
---------------------------------
The problem in the Muleforge stuff is that the checkstyle plugin is listed in
the main build/plugins section, not in pluginManagement. This is probably
because (IIRC) reporting plugins don't make use of pluginManagement for
versioning/dependencies/etc. which forces the user to list them in the main
build/plugins section. At any rate, the build tools were listed in the parent
pom in this way, and since the build tools POM inherits from this parent, it
meant that the build tools project build looked like it relied on the
checkstyle plugin and its build tools dependency...and a single-node cycle
resulted.
I'm putting in an exception for a project referencing itself from plugin-level
dependencies, with the understanding that if this plugin were actually used in
the dependency project's build it would either:
A. use an older copy of the project currently being built, in order to build
the project...ICK
B. result in an ArtifactNotFoundException
> cyclic reference with 2.1.0-RC1 that doesn't occur with 2.0.10
> --------------------------------------------------------------
>
> Key: MNG-4074
> URL: http://jira.codehaus.org/browse/MNG-4074
> Project: Maven 2
> Issue Type: Bug
> Affects Versions: 2.1.0
> Reporter: Daniel Kulp
> Assignee: John Casey
> Fix For: 2.1.1
>
>
> With a CXF trunk checkout (http://svn.apache.org/repos/asf/cxf/trunk/), if
> you run:
> mvn -Pfastinstall (to get the required plugins and such installed)
> and then
> mvn -Psetup.eclipse
> to setup the eclipse stuff, that works fine with mvn 2.0.[8-10], but with
> 2.1.0-RC1, I get:
> [INFO] The projects in the reactor contain a cyclic reference: Edge between
> 'Vertex{label='org.apache.cxf:cxf'}' and
> 'Vertex{label='org.apache.cxf:cxf-buildtools'}' introduces to cycle in the
> graph org.apache.cxf:cxf-buildtools --> org.apache.cxf:cxf -->
> org.apache.cxf:cxf-buildtools
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira