https://github.com/exasol/quality-summarizer-maven-plugin
Maven plugin that summarizes quality metrics from different source into a single file
https://github.com/exasol/quality-summarizer-maven-plugin
exasol-integration internal-tools-we-published software-quality summarizer
Last synced: 10 months ago
JSON representation
Maven plugin that summarizes quality metrics from different source into a single file
- Host: GitHub
- URL: https://github.com/exasol/quality-summarizer-maven-plugin
- Owner: exasol
- License: mit
- Created: 2024-09-04T05:46:53.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-28T13:52:02.000Z (10 months ago)
- Last Synced: 2025-08-28T21:00:00.370Z (10 months ago)
- Topics: exasol-integration, internal-tools-we-published, software-quality, summarizer
- Language: Java
- Homepage:
- Size: 52.7 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# quality-summarizer-maven-plugin
[](https://github.com/exasol/quality-summarizer-maven-plugin/actions/workflows/ci-build.yml)
[](https://search.maven.org/artifact/com.exasol/quality-summarizer-maven-plugin)
[](https://sonarcloud.io/dashboard?id=com.exasol%3Aquality-summarizer-maven-plugin)
[](https://sonarcloud.io/dashboard?id=com.exasol%3Aquality-summarizer-maven-plugin)
[](https://sonarcloud.io/dashboard?id=com.exasol%3Aquality-summarizer-maven-plugin)
[](https://sonarcloud.io/dashboard?id=com.exasol%3Aquality-summarizer-maven-plugin)
[](https://sonarcloud.io/dashboard?id=com.exasol%3Aquality-summarizer-maven-plugin)
[](https://sonarcloud.io/dashboard?id=com.exasol%3Aquality-summarizer-maven-plugin)
[](https://sonarcloud.io/dashboard?id=com.exasol%3Aquality-summarizer-maven-plugin)
[](https://sonarcloud.io/dashboard?id=com.exasol%3Aquality-summarizer-maven-plugin)
[](https://sonarcloud.io/dashboard?id=com.exasol%3Aquality-summarizer-maven-plugin)
This [Maven](https://maven.apache.org) plugin takes quality metrics produced by tools like [JaCoCo](https://www.jacoco.org/) and summarizes them in a single file during build.
The purpose of this file is to be picked up by a crawler from a CI build and is then written into a quality database. Note that the crawler and the database are both outside the scope of this Maven plugin.
## File Format
The target file format is described in a [JSON schema](https://schemas.exasol.com/project-metrics-0.2.0.json).
A typical file looks like this:
```json
{
"project" : "my-project",
"commit" : "a2464f0...",
"date" : "2024-12-31T19:30:00Z",
"coverage" : 0.92
}
```
## Usage
Add the following plugin to your `pom.xml`:
```xml
com.exasol
quality-summarizer-maven-plugin
CURRENT_VERSION
summarize-metrics
summarize
```
Using the default configuration, the plugin will search for the Jacoco report file in the following locations:
* `target/jacoco.xml`
* `target/site/jacoco.xml`
* `target/site/jacoco/jacoco.xml`
* `target/site/jacoco-aggregate/jacoco.xml`
You can configure a custom location like this:
```xml
com.exasol
quality-summarizer-maven-plugin
CURRENT_VERSION
summarize-metrics
summarize
target/site/custom-file.xml
```
## Information for Users
* [Changelog](doc/changes/changelog.md)
## Information for Developers
* [Dependencies](dependencies.md)