Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I debug m2e lifecyclemapping?

I'm trying to configure a lifecycle mapping but I can't tell what m2e is doing since nothing appears in workspace/.metadata/.log

like image 574
Peter Kahn Avatar asked Apr 30 '26 01:04

Peter Kahn


1 Answers

Each plugin can control log data individually.

  • Locate the plugin config inside the workspace (.e.g, .metadata/.plugins/org.eclipse.m2e.logback.configuration/logback..xml
  • modify the root logger (or add your additional loggers using the standard logging approach - easiest is to change INFO to DEBUG)
  • Restart eclipse
  • monitor log file (e.g., .metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log)

Now that you can see what's going on, you can get the source of plugins with invoked executions and work to understand what's skipped and why.

like image 178
Peter Kahn Avatar answered May 02 '26 17:05

Peter Kahn



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!