From 13242ee3f45335adf930685d09475a520634bf06 Mon Sep 17 00:00:00 2001 From: Marcono1234 Date: Mon, 1 Jul 2024 21:41:40 +0200 Subject: [PATCH] Fix `includeParent` field value not matching `Parameter#defaultValue` The field value is overwritten by `Parameter#defaultValue` anyway, but the mismatching initial field value might lead to confusion nonetheless. --- .../org/codehaus/mojo/versions/DisplayPropertyUpdatesMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/DisplayPropertyUpdatesMojo.java b/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/DisplayPropertyUpdatesMojo.java index 2499014892..4dd1c8617b 100644 --- a/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/DisplayPropertyUpdatesMojo.java +++ b/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/DisplayPropertyUpdatesMojo.java @@ -137,7 +137,7 @@ public class DisplayPropertyUpdatesMojo extends AbstractVersionsDisplayMojo { * @since 2.14.0 */ @Parameter(property = "includeParent", defaultValue = "false") - protected boolean includeParent = true; + protected boolean includeParent; // -------------------------- STATIC METHODS --------------------------