This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch branch-fs-spi
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 9d1c831e807e910c313a277d4e7f7323ed43a7d8
Author: morningman <[email protected]>
AuthorDate: Thu Apr 2 01:47:35 2026 +0800

    [improvement](build) Flatten filesystem plugin output layout
    
    Deploy all JARs (main + transitive deps) flat into
    output/fe/plugins/filesystem/{module}/ instead of using a lib/
    subdirectory, matching the expected plugin loading convention.
    
    Co-authored-by: Copilot <[email protected]>
---
 build.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/build.sh b/build.sh
index 86d59e0ad9a..552b6d48b8e 100755
--- a/build.sh
+++ b/build.sh
@@ -980,13 +980,13 @@ if [[ "${BUILD_FE}" -eq 1 ]]; then
         if [ ! -d "${fs_module_dir}" ]; then
             continue
         fi
-        mkdir -p "${fs_plugin_target}/lib"
+        mkdir -p "${fs_plugin_target}"
         # Copy main JAR
         cp -f "${fs_module_dir}/target/doris-fe-filesystem-${fs_module}"*.jar 
"${fs_plugin_target}/" 2>/dev/null || true
-        # Copy transitive dependencies, excluding spi JARs already on FE 
classpath
+        # Copy transitive dependencies flat into the same directory, excluding 
spi JARs already on FE classpath
         (cd "${DORIS_HOME}/fe" && "${MVN_CMD}" dependency:copy-dependencies \
             -pl "fe-filesystem/fe-filesystem-${fs_module}" \
-            -DoutputDirectory="${fs_plugin_target}/lib" \
+            -DoutputDirectory="${fs_plugin_target}" \
             -DexcludeArtifactIds="fe-filesystem-spi,fe-extension-spi" \
             --no-transfer-progress -q 2>/dev/null) || true
     done


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to