Skip to content

Commit

Permalink
Fix artifactId in plugin poms (#37315)
Browse files Browse the repository at this point in the history
  • Loading branch information
alpar-t committed Jan 11, 2019
1 parent 6797844 commit 09eb0c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public class PluginBuildPlugin extends BuildPlugin {
generatePOMTask.ext.pomFileName = "${project.archivesBaseName}-client-${project.versions.elasticsearch}.pom"
}
} else {
project.plugins.withType(MavenPublishPlugin).whenPluginAdded {
if (project.plugins.hasPlugin(MavenPublishPlugin)) {
project.publishing.publications.nebula(MavenPublication).artifactId(
project.pluginProperties.extension.name
)
Expand Down

0 comments on commit 09eb0c6

Please sign in to comment.