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