diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle
index d507c54c45a..5775b2b6323 100644
--- a/buildSrc/build.gradle
+++ b/buildSrc/build.gradle
@@ -183,4 +183,12 @@ if (project != rootProject) {
     testClass = 'org.elasticsearch.gradle.test.GradleUnitTestCase'
     integTestClass = 'org.elasticsearch.gradle.test.GradleIntegrationTestCase'
   }
+
+  /*
+   * We alread configure publication and we don't need or want this one that
+   * comes from the java-gradle-plugin.
+   */
+  afterEvaluate {
+    generatePomFileForPluginMavenPublication.enabled = false
+  }
 }