Skip to main content

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

Proper incremental build support is hard. Proper configuration mapping
from pom.xml to eclipse project preferences isn't trivial either.

If you want to simply add natures and builders based on some pom.xml
configuration this is quite trivial to do and won't require any special
support from m2e core. The usefulness of this will likely be limited to
checkstyle and maybe one or two other eclipse plugins, so I have no
plans support this in m2e core.

--
Regards,
Igor

On 2014-10-15, 16:16, Jörg Hohwiller wrote:
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





_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-dev



Back to the top