From bb23036d9e465f41bcaf815896bc05c7dd63b471 Mon Sep 17 00:00:00 2001 From: owaiskazi19 Date: Fri, 19 Jan 2024 23:13:07 +0000 Subject: [PATCH] Handled zipArhcive failure for secuirty plugin Signed-off-by: owaiskazi19 --- build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 26da3f336..09b9cc4b1 100644 --- a/build.gradle +++ b/build.gradle @@ -147,6 +147,7 @@ repositories { configurations { zipArchive + secureIntegTestPluginArchive } dependencies { @@ -162,7 +163,7 @@ dependencies { // ZipArchive dependencies used for integration tests zipArchive group: 'org.opensearch.plugin', name:'opensearch-ml-plugin', version: "${opensearch_build}" - zipArchive group: 'org.opensearch.plugin', name:'opensearch-security', version: "${opensearch_build}" + secureIntegTestPluginArchive group: 'org.opensearch.plugin', name:'opensearch-security', version: "${opensearch_build}" configurations.all { resolutionStrategy { @@ -183,7 +184,7 @@ ext{ configureSecurityPlugin = { OpenSearchCluster cluster -> // Retrieve Security Plugin Zip from zipArchive - configurations.zipArchive.asFileTree.each { + configurations.secureIntegTestPluginArchive.asFileTree.each { if(it.name.contains("opensearch-security")) { cluster.plugin(provider(new Callable(){ @Override