Fix bom plugin management versions

See gh-27044
This commit is contained in:
Andy Wilkinson 2021-06-23 19:50:06 +01:00
parent 3746155916
commit 4d694ddaa8

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);
}
}