Resolving: MNG-800...needed a call to flush the cached plugins-by-key map in the registry when a new plugin is added.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292222 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2005-09-28 16:04:19 +00:00
parent c44d8ccc4b
commit dac96a1276
1 changed files with 2 additions and 0 deletions

View File

@ -561,6 +561,8 @@ public class DefaultPluginVersionManager
plugin.setUseVersion( version ); plugin.setUseVersion( version );
pluginRegistry.addPlugin( plugin ); pluginRegistry.addPlugin( plugin );
pluginRegistry.flushPluginsByKey();
} }
writeUserRegistry( groupId, artifactId, pluginRegistry ); writeUserRegistry( groupId, artifactId, pluginRegistry );