use maven:get for now and file a JIRA issue. There is no overhead in
this other than the extra typing.

I'm not sure if it is possible - the tag may effectively be run in the
target project, not the plugin.

- Brett

On Wed, 1 Sep 2004 21:04:07 -0700, dan tran <[EMAIL PROTECTED]> wrote:
> Brett,
> 
> With your suggestion, I have do to do this in my tag body to get back
> properties predefined by my plugin
> 
> <maven:get plugin="maven-opcenter-plugin" property="myVar"  var="="myVar" />
> 
> it sounds odd.
> 
> The other two methods ${myVar} and
> ${context.getParent().getVariable('myVar')} return empty string when
> use with a body tag of plugin
> 
> 
> 
> 
> On Thu, 2 Sep 2004 13:06:30 +1000, Brett Porter <[EMAIL PROTECTED]> wrote:
> > it should work. Have you tried ${context.getParent().getVariable('plugin.dir')}?
> >
> > You could also use <maven:get ... />
> >
> > - Brett
> >
> >
> >
> > On Wed, 1 Sep 2004 18:57:22 -0700, dan tran <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > >
> > > I am developing a tag in my plugin and need to access a file inside my
> > > plugin resource directory.  No problem accessing the file in a goal
> > > using ${plugin.dir}
> > >
> > > Accessing the resouce in a tag is a challenge since ${plugin.dir} is
> > > not available
> > > in the tag.
> > >
> > > -D
> > >
> > > ---------------------------------------------------------------------
> > > 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]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to