mirror of https://github.com/apache/maven.git
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:
parent
5404045229
commit
36fbe930d7
|
@ -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 ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue