From 2077c4a2097590b6c62fe11e05f45ae4fa8dc455 Mon Sep 17 00:00:00 2001 From: Konrad Windszus Date: Sat, 21 Dec 2024 11:09:14 +0100 Subject: [PATCH] Clarify description for parameter "append" State that by default execution data files are always written to in append mode. This closes #1676 --- .../src/org/jacoco/maven/AbstractAgentMojo.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jacoco-maven-plugin/src/org/jacoco/maven/AbstractAgentMojo.java b/jacoco-maven-plugin/src/org/jacoco/maven/AbstractAgentMojo.java index bfb8863f80..06f798a6ee 100644 --- a/jacoco-maven-plugin/src/org/jacoco/maven/AbstractAgentMojo.java +++ b/jacoco-maven-plugin/src/org/jacoco/maven/AbstractAgentMojo.java @@ -55,7 +55,9 @@ public abstract class AbstractAgentMojo extends AbstractJacocoMojo { /** * If set to true and the execution data file already exists, coverage data * is appended to the existing file. If set to false, an existing execution - * data file will be replaced. + * data file will be replaced. The default behaviour is that execution data + * files are never cleared but coverage is always appended to an existing + * file. */ @Parameter(property = "jacoco.append") Boolean append;