--- Nigel Magnay <[EMAIL PROTECTED]> wrote: > Hello > > I have a plugin where I have declared a taglib by doing > > <define:taglib uri="myuri"> > <define:tag name="yadayada"> > etc etc > > I can do plugin:install fine > > However, when I try and use it in my script, with > <project xmlns:mine="myuri" ... > > <goal. ... > <mine:yadayada /> > > > I get > "Tag library requested that is not present: 'myuri' in plugin 'null' > > > I'm evidently missing something here.. how do I 'register' my plugin? > I've examined the other plugins in the cache and I can't figure it > out...
If you have installed your plugin at least once prior to adding your taglib, it may be a cache issue. I have noticed similar behavior when defining a new goal in a plugin that I have already installed. To resolve this, first run plugin:uninstall to clear your plugin from the cache, then run plugin:install again. Your taglib should then be recognized. > > Cheers, > Nigel > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
