From f9139d73d0c84e6704c2bff387d384a5c589eb74 Mon Sep 17 00:00:00 2001 From: John Mazanec Date: Wed, 26 Oct 2022 17:41:48 -0700 Subject: [PATCH] Update build script to publish to maven local (#596) Updates build script to publish zip to local maven. This allows plugins like neural search to pick up the zip as a dependency. Signed-off-by: John Mazanec (cherry picked from commit 532369963938ecd42575d463b46ef8815b927fa7) --- scripts/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build.sh b/scripts/build.sh index 2ff2bc2b6..b19950041 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -101,6 +101,7 @@ make opensearchknn_faiss opensearchknn_nmslib cd $work_dir ./gradlew assemble --no-daemon --refresh-dependencies -DskipTests=true -Dopensearch.version=$VERSION -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER ./gradlew publishPluginZipPublicationToZipStagingRepository -Dopensearch.version=$VERSION -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER +./gradlew publishPluginZipPublicationToMavenLocal -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER -Dopensearch.version=$VERSION # Add lib to zip zipPath=$(find "$(pwd)" -path \*build/distributions/*.zip)