You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.
We write a mojo that "hacks" the .project file by adding nature and builder for checkstyle. Then we configure m2e to trigger this as described in the link. I am not sure if it will workout easily but it is worth a try. The Mojo would need to be deployed into nexus for the moment to make it available for developers. Not a great solution but if it works out better than nothing.
We have been trying to activate checkstlye for projects automatically with m2e in Eclipse.
This was so easy with maven-eclipse-plugin:
http://maven.apache.org/plugins/maven-eclipse-plugin/examples/configure-checkstyle.html
However with m2e this is a big problem. We found and tested this project:
https://code.google.com/p/m2e-extensions/
However it seems to be dead and does not work with recent versions of Eclipse and m2e if it ever worked at all. See also:
https://code.google.com/p/m2e-extensions/wiki/Checkstyle
Next we tried this one:
https://github.com/m2e-code-quality/m2e-code-quality
It installs properly but seems to do nothing. There are no working step-by-step instructions that worked for us...
General infos how it could practically work are described here:
https://docs.sonatype.org/display/M2ECLIPSE/Customizable+build+lifecycle+mapping+for+m2e+extensions+developers
We also tried to create our own eclipse plugin for this but had no luck either.
The text was updated successfully, but these errors were encountered: