mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-24 22:09:24 +00:00
Build: Fix plugin poms to have correct artifact id (#20764)
We already override the name in plugin pom files to be that configured for the plugin but we also need to explicitly set the artifactId.
This commit is contained in:
parent
e168b3b66b
commit
6da0f0dcc0
@ -231,6 +231,7 @@ public class PluginBuildPlugin extends BuildPlugin {
|
||||
* ahold of the actual task. Furthermore, this entire hack only exists so we can make publishing to
|
||||
* maven local work, since we publish to maven central externally. */
|
||||
zipReal(MavenPublication) {
|
||||
artifactId = project.pluginProperties.extension.name
|
||||
pom.withXml { XmlProvider xml ->
|
||||
Node root = xml.asNode()
|
||||
root.appendNode('name', project.pluginProperties.extension.name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user