diff --git a/maven-core/src/main/aspect/org/apache/maven/compat/Maven20xCompatAspect.aj b/maven-core/src/main/aspect/org/apache/maven/compat/Maven20xCompatAspect.aj index 307380cde6..09f71cf015 100644 --- a/maven-core/src/main/aspect/org/apache/maven/compat/Maven20xCompatAspect.aj +++ b/maven-core/src/main/aspect/org/apache/maven/compat/Maven20xCompatAspect.aj @@ -240,7 +240,7 @@ public privileged aspect Maven20xCompatAspect && this( manager ); private pointcut pluginRealmCreation( Plugin plugin, DefaultPluginManager manager ): - call( ClassRealm MavenRealmManager+.createPluginRealm( Plugin, Artifact, Collection, .. ) ) + call( ClassRealm MavenRealmManager+.createPluginRealm( Plugin, Artifact, List, .. ) ) && cflow( pluginManager( manager ) ) && args( plugin, .. );