Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2
-
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?