From 070d95da26fc8e9af5aeef66a1a07fbe1baaac11 Mon Sep 17 00:00:00 2001 From: Prudhvi Godithi Date: Fri, 9 Feb 2024 11:08:02 -0800 Subject: [PATCH] Include task publishPluginZipPublicationToMavenLocal Signed-off-by: Prudhvi Godithi --- build.gradle | 2 ++ .../opensearch.job-scheduler.release-notes-2.12.0.0.md | 1 + settings.gradle | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index e8d18352..b20db4ce 100644 --- a/build.gradle +++ b/build.gradle @@ -188,6 +188,8 @@ task integTest(type: RestIntegTestTask) { } tasks.named("check").configure { dependsOn(integTest) } +tasks.generatePomFileForPluginZipPublication.dependsOn publishNebulaPublicationToMavenLocal + integTest { if (project.hasProperty('excludeTests')) { project.properties['excludeTests']?.replaceAll('\\s', '')?.split('[,;]')?.each { diff --git a/release-notes/opensearch.job-scheduler.release-notes-2.12.0.0.md b/release-notes/opensearch.job-scheduler.release-notes-2.12.0.0.md index fa68ef6f..67602d72 100644 --- a/release-notes/opensearch.job-scheduler.release-notes-2.12.0.0.md +++ b/release-notes/opensearch.job-scheduler.release-notes-2.12.0.0.md @@ -15,3 +15,4 @@ Compatible with OpenSearch 2.12.0 * Update `com.netflix.nebula.ospackage` from 11.5.0 to 11.6.0 ([#551](https://github.com/opensearch-project/job-scheduler/pull/551)). * Update `com.diffplug.spotless` from 6.22.0 to 6.25.0 ([#558](https://github.com/opensearch-project/job-scheduler/pull/558)). * Fix backport workflow ([#533](https://github.com/opensearch-project/job-scheduler/pull/533)). +* Enable `publishPluginZipPublicationToMavenLocal` gradle task to publish job-scheduler plugin zip to maven local ([#584](https://github.com/opensearch-project/job-scheduler/pull/584)). diff --git a/settings.gradle b/settings.gradle index 00189eec..b8a1b1d4 100644 --- a/settings.gradle +++ b/settings.gradle @@ -10,4 +10,4 @@ project(":spi").name = rootProject.name + "-spi" include "sample-extension-plugin" project(":sample-extension-plugin").name = rootProject.name + "-sample-extension" -startParameter.excludedTaskNames=["publishPluginZipPublicationToMavenLocal", "publishPluginZipPublicationToStagingRepository", "bwcTestSuite"] +startParameter.excludedTaskNames=["publishPluginZipPublicationToStagingRepository", "bwcTestSuite"]