mirror of
https://github.com/apache/maven.git
synced 2025-02-24 11:29:57 +00:00
PR: MNG-915
alloow plugin to include itself git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292406 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c801d25695
commit
30adf31194
@ -114,7 +114,7 @@ public ProjectSorter( List projects )
|
||||
{
|
||||
Plugin plugin = (Plugin) 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…
x
Reference in New Issue
Block a user