Clover Maven Plugin Developer Guide

Preconditions

  • You have JDK 17 installed.
  • You have Maven 3.0.4+ installed.
  • Clone the repository:
git clone ssh://git@github.com/openclover/clover-maven-plugin.git

(warning) Do not mislead with the atlassian/maven-clover-plugin repository which is an archaic Clover for Maven1.

Build and test

To run unit tests:

mvn clean test

To run integration tests:

mvn clean integration-test -Pintegration-tests

Release and publish

To create a snapshot version:

mvn clean install

To release a stable version:

Because of the fact that only selected contributors have write access to oss.sonatype.org (binaries repository) and openclover.org (site documentation) running the 'mvn release:prepare release:perform' will fail. Instead of this, you can create a personal release manually - just put a release version number in pom.xml and run 'mvn install' to create a binary. You can also create a pull request to include your changes in the official build.

Creating a pull request

  1. Fork clover-maven-plugin repository and clone the fork into your workstation. 
  2. Implement the change (also write unit or integration tests). Push changes.
  3. Create a pull request for clover-maven-plugin repository. Ensure any new features/configuration options have been documented in pull request description.

Binaries

Stable releases can be downloaded from: