I'm probably going 100% wrong direction but I thought I'd ask anyway. I created a custom run configuration for my plugin, which is based on the Maven run configuration. What I want is when the custom run configuration is executed, check the maven dependencies of the project (which I believe I know how to do) and if a certain dependency is missing, add it on the fly, without modifying the original POM, just for the scope of this execution. Is it even possible?
I suppose I could hack the command line builder, but I don't think there's a way in Maven to pass additional dependencies at the command line.