I'm writing a Maven plugin whose job is to delegate to a core module who needs to read files from the project classpath (i.e. the project declaring the plugin as a plugin dependency).
However, from what I understand, Maven plugin comes with its own classpath, thus leading all my Class#getResourceAsStream in my core module calls to returning null.
Is there a way to include the project classpath elements in the plugin one?