don't aggregate plugins

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163654 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-03-22 11:42:23 +00:00
parent 3a1e4f0199
commit d9a6576761
1 changed files with 1 additions and 17 deletions

View File

@ -151,23 +151,7 @@ public class DefaultModelInheritanceAssembler
} }
} }
// Plugins :: aggregate // Plugins are not aggregated
if ( parent.getBuild() != null && child.getBuild() != null )
{
List parentPlugins = parent.getBuild().getPlugins();
List childPlugins = child.getBuild().getPlugins();
for ( Iterator iterator = parentPlugins.iterator(); iterator.hasNext(); )
{
Plugin plugin = (Plugin) iterator.next();
if ( !childPlugins.contains( plugin ) )
{
child.getBuild().addPlugin( plugin );
}
}
}
// Reports :: aggregate // Reports :: aggregate
if ( child.getReports() != null && parent.getReports() != null ) if ( child.getReports() != null && parent.getReports() != null )