Git Product home page Git Product logo

m2e-code-quality GitHub CI

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'.

Installation

The latest release can be installed from the Eclipse Update Site at https://m2e-code-quality.github.io/m2e-code-quality-p2-site/

Development environment

Building

The project uses maven and tycho. You need at least a Java17 JDK and setup Maven Toolchains correctly. You can use the project's toolchains.xml as a template.

Once setup, you can build the project with ./mvnw clean verify.

IDE

This project uses Oomph, and you can set up an Eclipse development environment with the following steps:

  1. Downloading the Eclipse Installer from https://www.eclipse.org/downloads/ and start it.
  2. On the initial page, click on the Switch to advanced mode button in the top right.
  3. On the Product page, select Eclipse IDE for RCP and RAP Developers.
  4. On the Projects page, collapse the Eclipse Projects to scroll down to the GitHub Projects and select m2e-code-quality.
  5. Make sure to choose the HTTPS anonymous option for the Github repository.
  6. Choose other preferred installation settings on the Variables page.
  7. Finish the wizard and watch your development environment being assembled.
  8. Create an Eclipse run configuration. The target platform will automatically be setup correctly.

Release

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

Mailing list

Activity here is 'coordinated' on a mailing list: [email protected].

M2E integration for Checkstyle, SpotBugs & PMD's Projects

m2e-code-quality icon m2e-code-quality

A collection of Eclipse plugins for M2Eclipse that carry configuration from the Checkstyle, FindBugs and PMD Maven plugins to their corresponding Eclipse plugins.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.