Hi,
I'm wrapping some existing code in a maven plugin. What I'd like to
do is make the module's resources available to the plugin. So for
example, there is a properties file in src/main/resources. When the
code my plugin wraps looks up the properties file, it should find it
via the classpath.
The classpath of project belongs to project, not plugin. While I believe
you can create you own ClassLoader based on
project.getXClasspathElements() and find resources from there.
I used to have a small Mojo running something with project's classpath