diff --git a/.gitignore b/.gitignore index a40f65c0..653d8ff0 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,7 @@ target/ # JVM agent descriptors .attach* + +# Stuff that I generate when I have lost all hope in the world +/build.log + diff --git a/README.md b/README.md index 817f1d8e..93a8f8b3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ![Java 11+](https://img.shields.io/badge/Java-11+-blue?logo=openjdk&logoColor=white) [![Build Status](https://github.com/ascopes/protobuf-maven-plugin/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/ascopes/protobuf-maven-plugin/actions/workflows/build.yml) - +[![codecov](https://codecov.io/gh/ascopes/protobuf-maven-plugin/graph/badge.svg?token=bW37uc04cL)](https://codecov.io/gh/ascopes/protobuf-maven-plugin) # protobuf-maven-plugin diff --git a/pom.xml b/pom.xml index c36a2001..7b6261ec 100644 --- a/pom.xml +++ b/pom.xml @@ -340,12 +340,8 @@ true - true - ${project.build.directory}/it/tests true - ${project.build.directory}/it/m2 test - src/it/settings.xml true true true @@ -519,27 +515,36 @@ - generate-coverage-argline + prepare-coverage-agent-surefire initialize prepare-agent + + + prepare-coverage-agent-invoker + initialize + + prepare-agent-integration + - ${project.build.directory}/jacoco.bin + + true + + io.github.ascopes.protobufmavenplugin.* + invoker.mavenOpts - generate-coverage-report - test + generate-coverage-reports report + report-integration + report-aggregate - - ${project.build.directory}/jacoco.bin - ${project.build.directory}/site/jacoco - diff --git a/src/it/invoker.properties b/src/it/invoker.properties index 045fbc57..559e074f 100644 --- a/src/it/invoker.properties +++ b/src/it/invoker.properties @@ -1,4 +1,5 @@ invoker.mavenOpts = \ -Dplugin-group-id=${project.groupId} \ -Dplugin-artifact-id=${project.artifactId} \ - -Dplugin-version=${project.version} + -Dplugin-version=${project.version} \ + ${invoker.mavenOpts} diff --git a/src/it/settings.xml b/src/it/settings.xml deleted file mode 100644 index 8f42f06e..00000000 --- a/src/it/settings.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - it-repo - - - local.central - @localRepositoryUrl@ - - true - - - true - - - - - - local.central - @localRepositoryUrl@ - - true - - - true - - - - - - - it-repo - -