/[Apache-SVN]
ViewVC logotype

Revision 231353


Jump to revision: Previous Next
Author: kenney
Date: Wed Aug 10 23:31:40 2005 UTC (19 years, 3 months ago)
Changed paths: 1
Log Message:
Sometimes plugins get added in an unofficial way - the pluginDiscovererManager
sees the plugin and marks it as 'installed' (it's in a hashtable somewhere).
The official way is to go through verifyPlugin. That gets called later on
for that plugin, which only calls addPlugin (that registers, resolves,
and, most importantly, creates a childContainer for that plugin!) IF
the plugin is NOT yet registered.

Since it is registered in the hashtable, but no childRealm was made there,
addPlugin doesn't get called. Added a simple check to ALSO call 'addPlugin'
if it was added to the hashtable. Side effect is that the version that
was normally going to be used is now used and overrides the other version.

This really needs a cleanup!

Committing anyway:

01:26<trygvis> right now I think we're allowed to push over old ladies and
               steal candy from small children to get this to work



Changed paths

Path Details
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26