Try ${plugin.version}. Not sure if it works, but it doesn't hurt to try.
On Dec 27, 2007 10:06 PM, Kallin Nagelberg <[EMAIL PROTECTED]>
wrote:
> I believe what is happening here has to do with my plugin haviing the
> '@requiresProject false' attribute set.
>
> On Dec 27, 2007 4:01 PM, Kallin Nagelberg <[EMAIL PROTECTED]>
> wrote:
>
> > I'm trying to write a plugin in which I need to access the version of
> the
> > plugin while it's running. I've tried using ${project.version} within my
> > plugin, but it always resolves to '2.0', as if it is obtaining the maven
> > version. Does anyone know a way to obtain the version of the plugin?
> >
>