Not sure but you certainly have to add it manually to the classpath with maven:addPath declaring it as ressource add it to the classpath for the compilation. No for the runtime.
Arnaud On 2/23/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote: > > > How is the plugin runtime classpath set ? > > I'm writing a (maven 1) plugin that uses velocity, so I'd like to load a > Velocimacro file from classpath. > > My .vm file is declared as resource and gets packaged in the plugin root. > > It seems it is not added to plugin classpath at runtime. Is there a > workaround (NB : I cannot put it in plugin-resources) > > This message contains information that may be privileged or confidential > and is the property of the Capgemini Group. It is intended only for the > person to whom it is addressed. If you are not the intended recipient, you > are not authorized to read, print, retain, copy, disseminate, distribute, > or use this message or any part thereof. If you receive this message in > error, please notify the sender immediately and delete all copies of this > message. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >