A collection of Eclipse plugins for M2Eclipse that carry configuration from the Checkstyle and PMD Maven plugins to their corresponding Eclipse plugins.
Clone or download
Pull request Compare This branch is 319 commits behind m2e-code-quality:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
com.basistech.m2e.code.quality.checkstyle.feature
com.basistech.m2e.code.quality.checkstyle
com.basistech.m2e.code.quality.findbugs.feature
com.basistech.m2e.code.quality.findbugs
com.basistech.m2e.code.quality.pmd.feature
com.basistech.m2e.code.quality.pmd
com.basistech.m2e.code.quality.shared
com.basistech.m2e.code.quality.site
doc
test-projects
tools
.gitignore
.hgignore
README.md
pom.xml

README.md

m2e-code-quality

This project provides Eclipse plugins that bridge the Maven and Eclipse plugins for Checkstyle and PMD. In a Maven project that uses Checkstyle or PMD, the project configures the tools via configuration information the POM or pointed to by the POM.

On the other hand, the Eclipse plugins for these tools provide annotations and as-you-edit notifications of issues. Thus, it's desirable to turn the Maven plugins off in M2E, to turn the Eclipse plugins on, and to move configuration from the Maven plugins to the Eclipse plugins.

In a perfect world, there would be some sort of standardized API that would allow a build tool like Maven to publish this configuration and for IDE plugins to consume it. In reality, this has to be arranged, one plugin-pair at a time, and depends rather delicately on the OSGi manifests of the receiving plugins. If they don't export enough API for programmatic configuration, it cannot be done.

These Eclipse plugins are built with the Tycho Maven plugin. The marriage of OSGi, Eclipse, and Maven is imperfect. In particular, it rarely works to run a build that does not start with 'clean'.

See docs/release.md for information about how all of this is released.

Activity here is 'coordinated' on a mailing list: m2e-code-quality@googlegroups.com.