diff --git a/build.gradle b/build.gradle index 76ef1c144..e2f245f72 100644 --- a/build.gradle +++ b/build.gradle @@ -53,7 +53,7 @@ ext { allprojects { - group = 'org.opensearch' + group = 'org.opensearch.plugin' version = opensearch_version.tokenize('-')[0] + '.0' if (version_qualifier) { version += "-${version_qualifier}" diff --git a/scripts/build.sh b/scripts/build.sh index 2ff2bc2b6..2d9677d3d 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 :publishToMavenLocal -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER # Add lib to zip zipPath=$(find "$(pwd)" -path \*build/distributions/*.zip)