I develop a Maven plugin and trying to find an easy way to test it. One of the ways is to use embedder, and it works great (I run it from JUnit). My scenario requires more real-time testing rather than maven-testing-harness approach but I use both.
But in order to use my plugin I have to install it to local repo (otherwise it can't be found). So the question is - if there's any way to run plugin by directly adding it to classpath?
I've tried to find a way to add it to classpath, no luck so far. Have a thought to configure an additional virtual repository but seems too complicated for this case.