How to take a thread dump of a maven build

53 Views Asked by At

I would like to take a thread dump of a maven run on CI server. The thread dump should be taken for example every 10 minutes to debug hanged maven runs. Is there an existing extention / configuration I could use?

If not, I will write one. For this task, would you recommend creating a plugin? Will most internal maven plugins run on the same JVM?

I am working with maven 3.9.4.

0

There are 0 best solutions below