Maven
  1. Maven
  2. MNG-5601

multimodule plugin configuration e.g. "build-tools" pattern broken

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      The recommendation at https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html breaks down in projects that use the pattern more than once, e.g. for checkstyle/findbugs/PMD alike. I have boiled this down to a super-simple test project that defines a build-tools module, and in separate profiles declares each of these plugins with a dependency on that submodule. Activating any one of these profiles and calling `mvn validate` works fine, but as soon as you activate two or more of them the command fails with "The projects in the reactor contain a cyclic reference".

        Activity

        Mark Thomas made changes -
        Workflow jira [ 12951920 ] Default workflow, editable Closed status [ 12989303 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
        Mark Thomas made changes -
        Workflow jira [ 12715791 ] Default workflow, editable Closed status [ 12755311 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
        Matt Benson made changes -
        Field Original Value New Value
        Attachment cyclic-ref-test.tar.gz [ 65379 ]
        Matt Benson created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Matt Benson
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development