On Mon, 7 Dec 2009, NGUYEN Cong Kinh wrote:

Hello everybody,

I'm creating a plugin maven (extends AbstractMojo). In fact, in the code of the plugin, I want to load a file in the resources directory of the plugin maven. How I can do that? Because normally the current directory is directory of the module that uses the plugin maven.


this.getClass().getClassLoader().getResource() ?
or org.codehaus.plexus.resource.ResourceManager


--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com
Sent from my bog-standard SMTP client

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to