Fix bom plugin management versions

See gh-27044
pull/27348/head
Andy Wilkinson 3 years ago
parent 3746155916
commit 4d694ddaa8

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

Loading…
Cancel
Save