Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-189

ReactorModuleConvergence is not compatible with 'advanced' reactor options: -pl, -rf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.4
    • None
    • Standard Rules
    • None

    Description

      I have the <reactorModuleConvergence/> rule enabled, in my multi-module build. The whole build runs fine.
      However, when I use the (very handy) --projects or --resume-from Maven options, to limit the number of projects to build in the reactor, the rule is triggered and complains:

      [WARNING] Rule 1: org.apache.maven.plugins.enforcer.ReactorModuleConvergence failed with message:
      Module parents have been found which could not be found in the reactor.
       module: org.alfresco:alfresco-data-model:jar:4.3.0-BF-SNAPSHOT
      

      This limits the interest of the rule, since we use these all the time.

      Would it make sense to have a flag to disable this check, and only run the rule on projects the reactor knows?

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            slanglois Samuel Langlois
            Votes:
            13 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: