Test Maven plugin with maven-plugin-testing-harness
问题 I want to develop a Maven plugin and also test it properly. I was reading the documentation on maven-plugin-testing-harness and trying things out for a few hours already. I'm constantly running into NoClassDefFoundError and NoSuchMethodError , I just can't figure out which dependencies I need. Here's my MCVE: https://github.com/highsource/hello-maven-plugin Right now I'm getting: java.lang.NoClassDefFoundError: org/apache/maven/plugin/descriptor/PluginDescriptorBuilder at org.apache.maven