I would like to debug the Maven plugin under Eclipse. I suppose I can say that it is a dependency; then write some java class that imports the plugin (somehow) and runs it as execution of the maven plugin 'exec', the target is 'java'? Will it be doable or "too complicated"?
(Btw, use case: this is a hibernate3 plugin that I cannot get to create sql. It can make it generate xml, for example, "Level.hbm.xml", although I am not aware. The question itself.)
(EDIT: correct title, tag added.)
-EDIT2 -
Now I see that I may not have explained exactly what I wanted: I want to debug the plugin when it runs in the project where it is used. I would like it to find its options / configuration from pom.xml when I start debugging, if possible.
source share