Commit aa3d72cb authored by Andy Wilkinson's avatar Andy Wilkinson

Merge branch '2.5.x'

See gh-27047
parents 7d720a63 5139c79c
...@@ -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