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

Effective pom aggregation is not triggered

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 3.0.0
    • effective-pom
    • None
    • Maven 3.0.5
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: