<Your Class>.class.getClassLoader().getResourceAsStream(<resource-name>)

Hope this helps.

Allan Lewis <[EMAIL PROTECTED]> wrote: I have a plugin whose JAR file contains 
XML files that should be read by
the plugin while performing the build (during the generate-soruces
phase).  Is there an easy way within the Mojo to access resources that
are bundled within the plugin's JAR?



Reply via email to