Merge branch '2.5.x'

See gh-27047
This commit is contained in:
Andy Wilkinson 2021-06-23 19:52:04 +01:00
commit aa3d72cb05

View File

@ -170,7 +170,7 @@ public class BomPlugin implements Plugin<Project> {
plugin.appendNode("artifactId", pluginName);
String versionProperty = library.getVersionProperty();
String value = (versionProperty != null) ? "${" + versionProperty + "}"
: library.getVersion().toString();
: library.getVersion().getVersion().toString();
plugin.appendNode("version", value);
}
}