Debugging my Maven2 plugin in Eclipse

I wrote a plugin for Maven2 in Eclipse.

How do I run a plugin in debug mode in Eclipse?

If possible, I would like to avoid remote debugging of an external process, and I would also like to avoid installing plugins in Eclipse.

+2


a source to share


2 answers


Make sure the "workspace permission" is enabled for the project from which you are running the plugin, then right click on that project and select "Debug as -> Maven build ...



+1


a source


Integration / functional tests can be debugged. See the following resources:



Just in case (and for other readers) the wiki page Working with Eclipse-based IDEs explains how to remotely debug external Maven (not sure why you want to avoid it).

+1


a source







All Articles