Skip to content

Commit

Permalink
fix: trying to set property to use with Maven Release Plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Sep 26, 2023
1 parent 8621956 commit cf70456
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit cf70456

Please sign in to comment.