Clover Maven Plugin Developer Guide
Preconditions
- You have JDK1.6+ installed.
- You have Maven 3.0+ installed (recommended version is 3.2.5).
- Clone the repository from Bitbucket using SSH:
hg clone ssh://hg@bitbucket.org/atlassian/maven-clover2-plugin
This is Mercurial repository, not Git.
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
To run integration tests against Maven 2:
mvn clean integration-test -Pintegration-tests-maven-20
Release and publish
To create a snapshot version:
mvn clean install
To release a stable version:
Because of the fact that only Atlassian employees have write access to maven.atlassian.com (binaries repository) and docs.atlassian.com (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
- Fork atlassian/maven-clover2-plugin repository and clone the fork into your workstation.
- Implement the change (also write unit or integration tests). Commit changes.
- Create a pull request for atlassian/maven-clover2-plugin repository.
- ensure any new features/configuration options have been documented in pull request description
Binaries
Stable releases can be downloaded from:
Snapshot releases can be downloaded from:
Miscellaneous
The JIRA issue tracker https://studio.plugins.atlassian.com/browse/CLMVN no longer exists, current issue tracker is https://jira.atlassian.com/browse/CLOV.
The SVN repository https://studio.plugins.atlassian.com/svn/CLMVN/trunk no longer exists, current Mercurial repository is https://bitbucket.org/atlassian/maven-clover2-plugin.