[
https://issues.apache.org/jira/browse/MPH-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14594705#comment-14594705
]
Wisen Tanasa commented on MPH-105:
----------------------------------
The patch contains a code change to EffectivePomMojo to remove the check on
`projects.get( 0 ).equals( project )`. The rest of the patch is JUnit to show
the problem and how the patch will solve the issue. You should be able to
remove the IDEA specific patch info.
> Effective pom aggregation is not triggered
> ------------------------------------------
>
> Key: MPH-105
> URL: https://issues.apache.org/jira/browse/MPH-105
> Project: Maven Help Plugin
> Issue Type: Bug
> Components: effective-pom
> Affects Versions: 2.2
> Environment: Maven 3.0.5
> Reporter: Wisen Tanasa
> Fix For: waiting-for-feedback
>
> Attachments: MPH-105.patch
>
>
> 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:
> {code}
> if ( projects.get( 0 ).equals( project ) && projects.size() > 1 )
> {code}
> Is the first check really necessary?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)