I don't know if this is conformant with what's "correct" but you might
check out the plugin.properties file in the artifact plugin (CVS:
maven-plugins/artifact/plugin.properties). It uses:
${plugin.dir}/plugin-resources/...
Cheers,
John
On Thu, 2004-01-08 at 11:31, Jason Horne wrote:
> I need a full pathname to something located in the plugin's plugin-resources
> directory.
>
> Specifically, I'm calling the javadoc plugin with a third-party doclet. The license
> for that doclet is located in the plugin-resources directory, so I have to add that
> directory to the "docletpath" parameter or the doclet won't run.
>
> Am I being silly? Is there a better way?
>
> Jason
>
> -----Original Message-----
> From: Brett Porter [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 07, 2004 5:01 PM
> To: 'Maven Users List'
> Subject: RE: Plugin development question
>
>
> ${plugin.file} would give project.xml, ${plugin.file.parent} should give the
> directory.
>
> Why do you need it?
>
> - Brett
>
> > -----Original Message-----
> > From: Jason Horne [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, 8 January 2004 8:28 AM
> > To: [EMAIL PROTECTED]
> > Subject: Plugin development question
> >
> >
> > How does one obtain the filesystem location of the currently
> > running plugin from within that plugin's plugin.jelly file?
> > It seems like it should be easy to get from the "pom" or
> > "plugin" object, but I don't see how.
> >
> > TIA
> > Jason
> >
> > PS: Plugin plugin plugin plugin... plugin.
>
> ---------------------------------------------------------------------
> 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]