Skip to content

Commit

Permalink
Begin mini-migration from Plugin-GitHash to Implementation-Build (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored Apr 19, 2023
1 parent 29103ad commit 68a46ee
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,11 @@ protected void setAttributes(Manifest.ExistingSection mainSection) throws MojoEx
addAttributeIfNotNull(mainSection, "Plugin-ScmConnection", project.getScm().getConnection());
addAttributeIfNotNull(mainSection, "Plugin-ScmTag", project.getScm().getTag());
addAttributeIfNotNull(mainSection, "Plugin-ScmUrl", project.getScm().getUrl());
addAttributeIfNotNull(mainSection, "Plugin-GitHash", getGitHeadSha1());
String gitHash = getGitHeadSha1();
// Deprecated: Use "Implementation-Build" for consistency with core and core components
addAttributeIfNotNull(mainSection, "Plugin-GitHash", gitHash);
addAttributeIfNotNull(mainSection, "Plugin-Module", getModule());
addAttributeIfNotNull(mainSection, "Implementation-Build", gitHash);
}

/**
Expand Down

0 comments on commit 68a46ee

Please # to comment.