Maven Reactor Plugin (RETIRED)
  1. Maven Reactor Plugin (RETIRED)
  2. MREACTOR-1

Reactor plugin doesn't work with sibling aggregated modules

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Normally when you have an aggregator POM with a list of <modules>, the element lists out subdirectories of the aggregator, like this:

      <modules>
        <module>foo</module>
        <module>bar</module>
      </modules>
      

      But modules can be anywhere; the module list can declare relative paths to anywhere, like this:

      <modules>
        <module>../foo</module>
        <module>../../bar</module>
      </modules>
      

      Since the reactor plugin currently works by using "mvn --reactor", which only accepts subdirectories, it will silently fail to run these sibling modules.

      Ultimately we should fix this by using the new command line switches available in 2.1. http://docs.codehaus.org/display/MAVEN/Make+Like+Reactor+Mode In the meantime, we'll have to live with it. (Possibly include a warning? error?)

        Issue Links

          Activity

          Dan Fabulich made changes -
          Field Original Value New Value
          Fix Version/s Future [ 14577 ]
          Benjamin Bentmann made changes -
          Link This issue is related to MNG-4262 [ MNG-4262 ]
          Karl-Heinz Marbaise made changes -
          Fix Version/s Future [ 14577 ]
          Affects Version/s Future [ 14577 ]
          Karl-Heinz Marbaise made changes -
          Resolution Won't Fix [ 2 ]
          Status Open [ 1 ] Closed [ 6 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Dan Fabulich
            • Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: