Hi Felipe,

You can. Check the existing maven-plugins. You'll need to use a namespace.

For example you can check the artifact plugin which provides tags used in
the war plugin.

-Vincent

> -----Original Message-----
> From: Felipe Leme [mailto:[EMAIL PROTECTED]
> Sent: mercredi 1 septembre 2004 16:27
> To: [EMAIL PROTECTED]
> Subject: Reusing a Jelly taglibs
> 
> Hi all,
> 
> Is it possible to use (inside a plugin or in maven.xml)  a Jelly taglib
> defined  somewhere else?
> 
> For instance, let's say a have a plugin A below:
> 
>  <project
>      xmlns:define="jelly:define"
>      xmlns:taglibA="taglibA">
> 
>     <goal name="testA">
>          <taglibA:mytag/>
>     </goal>
> 
>    <define:taglib uri="taglibA">
>        <define:tag name="myTag"/>
>     </define:taglib>
> </project>
> 
> If I try to access taglibA from a plugin B, it doesn't work:
> 
>  <project
>      xmlns:taglibA="taglibA">
> 
>     <goal name="testB">
>          <taglibA:mytag/>
>     </goal>
> 
> </project>
> 
> 
> My undestanding is that the taglib scope is limited to the Jelly script
> that defined it. So, my question is: is it possible to 'export' that
> taglib? If so, how do I do it?
> 
> Felipe
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to