mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Fix bom plugin management versions
See gh-27044
This commit is contained in:
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…
Reference in New Issue
Block a user