I have created a plugin to run an application. The plugin needs the classes of the Pom project and dependencies to run. When I first run the plugin I noticed Maven hadn't put the current project and all dependencies on the classpath. Why not? Is this a bug ?
I searched all over the maven.apache site, but I can't find anything which would enable Maven to do this. I tried several solutions with a custom classloader or ClassWorld, but the application will still not run. I now get a NoClassDefException for org.apache.log4j.Logger, but I can also see that my custom classloader has loaded it. Please, I already waisted 2 days on this. I could really need some help. Regards, Joost