Uploaded image for project: 'Maven Help Plugin'
  1. Maven Help Plugin
  2. MPH-105

Effective pom aggregation is not triggered

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 3.0.0
    • Component/s: effective-pom
    • Labels:
      None
    • Environment:
      Maven 3.0.5
    • Flags:
      Patch

      Description

      Patch attached and contains JUnit.

      The bug is happening when it hits this portion and `projects.get( 0 ).equals( project )` is returning false. In my JUnit, this is happening when a sub module's parent is not the aggregator pom.

      EffectivePomMojo.java#90:

      if ( projects.get( 0 ).equals( project ) && projects.size() > 1 )
      

      Is the first check really necessary?

        Attachments

        1. MPH-105.patch
          8 kB
          Wisen Tanasa

          Issue Links

            Activity

              People

              • Assignee:
                gboue Guillaume Boué
                Reporter:
                ceilfors Wisen Tanasa
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: