Skip to content

Commit

Permalink
refactor(core): Warn if project.extraProperties.inceptionYear is used…
Browse files Browse the repository at this point in the history
…. Relates to #881
  • Loading branch information
aalmiray committed Aug 10, 2022
1 parent 37425b6 commit a666681
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public static void postValidateProject(JReleaserContext context, JReleaserContex
if (null == project.getInceptionYear() &&
project.getExtraProperties().containsKey("inceptionYear")) {
project.setInceptionYear(project.getExtraProperty("inceptionYear"));
context.nag("1.2.0","Use project.inceptionYear instead of project.extraProperties.inceptionYear");
}

if (isBlank(project.getCopyright())) {
Expand Down

0 comments on commit a666681

Please sign in to comment.