PR: MNG-915

report plugins can be included in the current plugin

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292404 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-09-29 09:08:35 +00:00
parent 5404045229
commit 36fbe930d7
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ public class ProjectSorter
{
ReportPlugin plugin = (ReportPlugin) j.next();
String pluginId = ArtifactUtils.versionlessKey( plugin.getGroupId(), plugin.getArtifactId() );
if ( dag.getVertex( pluginId ) != null )
if ( dag.getVertex( pluginId ) != null && !pluginId.equals( id ) )
{
project.addProjectReference( (MavenProject) projectMap.get( pluginId ) );