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

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


The following commit(s) were added to refs/heads/hadoop-3.4.2 by this push:
     new c4005565419 [fix](build) support jdk 17
c4005565419 is described below

commit c40055654196917b47708be30014ca4d3735eee6
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Mon Nov 24 18:22:58 2025 +0800

    [fix](build) support jdk 17
---
 build.sh | 18 ++++++++++++------
 pom.xml  |  1 +
 2 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/build.sh b/build.sh
index 23d9e598e66..04c2cb4ddbc 100755
--- a/build.sh
+++ b/build.sh
@@ -29,8 +29,8 @@ export SRC_HOME="${ROOT}"
 . "${SRC_HOME}/env.sh"
 
 if [[ -z "${THIRDPARTY_INSTALLED}" ]]; then
-       echo "Must set 'THIRDPARTY_INSTALLED' in env.sh"
-       exit 255
+    echo "Must set 'THIRDPARTY_INSTALLED' in env.sh"
+    exit 255
 fi
 
 DIST_DIR="${SRC_HOME}/hadoop-dist/target/hadoop-3.4.2"
@@ -39,14 +39,20 @@ rm -rf "${DIST_DIR}"
 rm -rf "${LIBHDFS_DIST_DIR}"
 
 mvn clean package -Pnative,dist -DskipTests -Djavadoc.skip.jdk11 -f 
hadoop-common-project \
+        -Dmaven.wagon.http.ssl.insecure=true 
-Dmaven.wagon.http.ssl.allowall=true \
         -Dopenssl.prefix="${THIRDPARTY_INSTALLED}" -e
+
 mvn clean package -Pnative,dist -DskipTests -Djavadoc.skip.jdk11 -f 
hadoop-hdfs-project \
-       -Dthirdparty.installed="${THIRDPARTY_INSTALLED}" 
-Dopenssl.prefix="${THIRDPARTY_INSTALLED}" -e
-mvn clean package -Pdist -DskipTests -Djavadoc.skip.jdk11 -f hadoop-dist -e
+    -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true \
+    -Dthirdparty.installed="${THIRDPARTY_INSTALLED}" 
-Dopenssl.prefix="${THIRDPARTY_INSTALLED}" -e
+
+mvn clean package -Pdist -DskipTests -Djavadoc.skip.jdk11 \
+    -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true \
+    -f hadoop-dist -e
 
 if [[ ! -d "${DIST_DIR}" ]]; then
-       echo "${DIST_DIR} is missing. Build failed."
-       exit 255
+    echo "${DIST_DIR} is missing. Build failed."
+    exit 255
 fi
 
 echo "Finished. Begin to pacakge for libhdfs..."
diff --git a/pom.xml b/pom.xml
index 9a9a0de744f..83f406b9866 100644
--- a/pom.xml
+++ b/pom.xml
@@ -639,6 +639,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
https://maven.apache.org/x
           <reportSet>
             <id>aggregate</id>
             <configuration>
+              <skip>true</skip>
               <maxmemory>1024m</maxmemory>
               <quiet>true</quiet>
               <verbose>false</verbose>


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

Reply via email to