Commit 5139c79c authored by Andy Wilkinson's avatar Andy Wilkinson

Merge branch '2.4.x' into 2.5.x

See gh-27045
parents bf17f50a 4d694dda
...@@ -170,7 +170,7 @@ public class BomPlugin implements Plugin<Project> { ...@@ -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);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment