Skip to content

Commit 13242ee

Browse files
Marcono1234slawekjaranowski
authored andcommitted
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.
1 parent 3c4efe8 commit 13242ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/DisplayPropertyUpdatesMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public class DisplayPropertyUpdatesMojo extends AbstractVersionsDisplayMojo {
137137
* @since 2.14.0
138138
*/
139139
@Parameter(property = "includeParent", defaultValue = "false")
140-
protected boolean includeParent = true;
140+
protected boolean includeParent;
141141

142142
// -------------------------- STATIC METHODS --------------------------
143143

0 commit comments

Comments
 (0)