I want to call the help:effective-pom mojo directly from java/scala.
Is there a minimal example how to setup the maven-runtime and call the mojo?
I assume some context is needed before calling the stuff as supposed in the answer to this question:
Reading POM's with its children
e.g.
Specifically, the effective-pom mojo writes some ugly prefix and suffix to the xml which is not needed and I want to work directly on the xml later on.