m2eclipse allow to import a maven project into eclipse and configure the equivalent eclipse plugins from maven configuration. m2eclipse defines a simple "Configurator" API for eclipse plugins to access the imported maven configuration.
Please contact m2eclipse devs and collaborate with them to provide a cs-m2 integration.
Moving to feature requests.
Interested in providing this functionality via patch/contribution?
Since I am currently hard pressed for free time, doing so will greately enhance the probability of such a feature being added.
I can contribute the maven side to read the POM.XML configuration, but need help on programmatically setting the checkstyle configuration.
I've setup a first draft plugin at https://platina.svn.sourceforge.net/svnroot/platina/eclipse/checkstyle/trunk
(apache licensed)
Please let me know what entry point class to look at to create the CheckStyle configuration. Could you also confirm the way I enable the checkstyle nature ?
I've committed at https://platina.svn.sourceforge.net/svnroot/platina/eclipse/checkstyle/trunk a draft plugin to support the required conversion from maven configuration to eclipse-cs API. It needs some more testing and has bo support for project reconfiguration, but is still a good base as a proof of concept.
Please let me know what you think about the way I (based on Peter Hayes code) used eclipse-cs classes to configure the project.
Please also let me know if you would like to host this plugin and include it in your update site as optional (or experimental?) feature.
--> nicolas_at_apache.org
Moving to RFE and assinging to yourself ;-)
Is there any progress?
Checkout these:
https://github.com/m2e-code-quality/m2e-code-quality
http://marketplace.eclipse.org/marketplace-client-intro?mpc_install=581104
Last edit: Terence Hill 2013-12-09
Lars I would close this issue - the https://github.com/m2e-code-quality/m2e-code-quality Eclipse M2E Configurator plugin mentioned by Terence above is the answer to this request. We use it as part of https://github.com/vorburger/opendaylight-eclipse-setup and it appears to work all right.
Yeah, I guess some cleanup is advisable.