diff --git a/src/main/java/se/bjurr/gitchangelog/plugin/SemanticVersionMojo.java b/src/main/java/se/bjurr/gitchangelog/plugin/SemanticVersionMojo.java index dd1549c..8a5d6d6 100644 --- a/src/main/java/se/bjurr/gitchangelog/plugin/SemanticVersionMojo.java +++ b/src/main/java/se/bjurr/gitchangelog/plugin/SemanticVersionMojo.java @@ -81,7 +81,7 @@ public void execute() throws MojoExecutionException { new XmlModifier(pomFile).setVersion(nextVersion); // Set property that is read by Maven Release Plugin - this.project.getProperties().put("tag", nextVersion); + this.project.getProperties().setProperty("tag", nextVersion); } catch (final Exception e) { throw new MojoExecutionException(e.getMessage(), e); }