Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-dev] ability to automatically activate checkstyle

Dear m2e developers,

First of all thanks for m2e. Since ~1.0 release it became stable and is matured gaining productivity. However, good old mvn eclipse:eclipse made it extremly easy to customize the settings and add extra natures or builders. E.g. to activate eclipse you could do this:
http://maven.apache.org/plugins/maven-eclipse-plugin/examples/configure-checkstyle.html

However with m2e this is a big problem. I 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 I 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 me...

General infos how it could practically work are described here:
https://docs.sonatype.org/display/M2ECLIPSE/Customizable+build+lifecycle+mapping+for+m2e+extensions+developers

I also followed this instructions and tried to create my own eclipse plugin for this but had no luck either.

On this mailing list the topic has already been discussed several times without a solution. You can also google for this problem and will find tons of hits. It is not only about checkstyle but also about findbugs and other things.

Are there any plans to support this in the future? Why not creating a solution as simple as with maven-eclipse-plugin where you can define extra builders and natures in the plugin config inside your POM?
Any other ideas?

Thanks a lot
  Jörg



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Back to the top