From 85e88e9d7d175379c67e6270769f4221dac3bc27 Mon Sep 17 00:00:00 2001 From: XenoAmess Date: Wed, 6 Jul 2022 02:17:26 +0800 Subject: [PATCH] bugfix for parentVersion wrongly be String "null" when be missing and should be null be default --- src/main/java/org/codehaus/mojo/versions/UpdateParentMojo.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/codehaus/mojo/versions/UpdateParentMojo.java b/src/main/java/org/codehaus/mojo/versions/UpdateParentMojo.java index 6b53757f35..84d3222695 100644 --- a/src/main/java/org/codehaus/mojo/versions/UpdateParentMojo.java +++ b/src/main/java/org/codehaus/mojo/versions/UpdateParentMojo.java @@ -53,8 +53,7 @@ public class UpdateParentMojo extends AbstractVersionsUpdaterMojo * * @since 1.0-alpha-1 */ - @Parameter( property = "parentVersion", - defaultValue = "null" ) + @Parameter( property = "parentVersion" ) protected String parentVersion = null; /**