We have been faced with this problem for quite a few months, and so far we cannot find any solutions for it (there are not many relevant streams on the Internet about people who have the same problems).
My team uses Eclipse. For some of our Maven dogs, we need to install a specific m2e connector. We get the error:
Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:1.12:add-test-source (execution: add-source, phase: generate-sources)
Eclipse suggests installing an additional connector to fix the problem. It can be installed, and indeed, our Maven errors disappear after restarting the application. The specific plugin to install is build-helper-maven-plugin .
However, this setup also has an interesting effect to completely remove junit integration from eclipse . It is not possible to run the tests, and all the junit-related context / views / perspectives / settings are gone forever. If you try to install it again, the “Install New Software” view means that the test integration is already installed.
Existing junit views now show the following error:
Could not create the view: org.eclipse.jdt.junit.ResultView
So far, our only solution has been to keep an eclipse backup at any time and simply replace the entire installation after maven has been run once.
Has this happened to anyone, or can someone tell us how to fix this?
The issue reproduces on Neon 1 and 2, both for the default eclipse and for the taste of RCP developers
We tried to get help from the eclipse community, but without success so far.
Current eclipse setting: 