You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by pv...@apache.org on 2022/03/03 14:49:01 UTC

[hive] branch master updated: HIVE-25997: Fix release source packaging (Zoltan Haindrich and Peter Vary, reviewed by Stamatis Zampetakis) (#3067)

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

pvary pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 95c6155  HIVE-25997: Fix release source packaging (Zoltan Haindrich and Peter Vary, reviewed by Stamatis Zampetakis) (#3067)
95c6155 is described below

commit 95c6155677b5a288b6bc571b11caf2c8eb80825f
Author: pvary <pv...@cloudera.com>
AuthorDate: Thu Mar 3 15:48:43 2022 +0100

    HIVE-25997: Fix release source packaging (Zoltan Haindrich and Peter Vary, reviewed by Stamatis Zampetakis) (#3067)
---
 Jenkinsfile                         |  7 +++++++
 packaging/src/main/assembly/src.xml | 14 ++++++++++++++
 2 files changed, 21 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index b079d51..70d5b91 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -304,6 +304,13 @@ dev-support/nightly
 '''
             buildHive("install -Dtest=noMatches -Pdist -pl packaging -am")
         }
+        stage('Verify') {
+            sh '''#!/bin/bash
+set -e
+tar -xzf packaging/target/apache-hive-*-nightly-*-src.tar.gz
+'''
+            buildHive("install -Dtest=noMatches -Pdist,iceberg -f apache-hive-*-nightly-*/pom.xml")
+        }
       }
   }
   for (int i = 0; i < splits.size(); i++) {
diff --git a/packaging/src/main/assembly/src.xml b/packaging/src/main/assembly/src.xml
index 625fcf2..8fc5bdc 100644
--- a/packaging/src/main/assembly/src.xml
+++ b/packaging/src/main/assembly/src.xml
@@ -100,12 +100,26 @@
         <include>storage-api/**/*</include>
         <include>standalone-metastore/metastore-common/**/*</include>
         <include>standalone-metastore/metastore-server/**/*</include>
+        <include>standalone-metastore/metastore-tools/**/*</include>
+        <include>standalone-metastore/src/assembly/src.xml</include>
+        <include>standalone-metastore/pom.xml</include>
         <include>streaming/**/*</include>
         <include>testutils/**/*</include>
         <include>upgrade-acid/**/*</include>
         <include>vector-code-gen/**/*</include>
         <include>kryo-registrator/**/*</include>
         <include>kudu-handler/**/*</include>
+        <include>parser/**/*</include>
+        <include>udf/**/*</include>
+        <include>iceberg/iceberg-catalog/**/*</include>
+        <include>iceberg/iceberg-handler/**/*</include>
+        <include>iceberg/iceberg-shading/**/*</include>
+        <include>iceberg/patched-iceberg-api/**/*</include>
+        <include>iceberg/patched-iceberg-core/**/*</include>
+        <include>iceberg/patched-iceberg-data/**/*</include>
+        <include>iceberg/patched-iceberg-orc/**/*</include>
+        <include>iceberg/checkstyle/**/*</include>
+        <include>iceberg/pom.xml</include>
       </includes>
       <outputDirectory>/</outputDirectory>
     </fileSet>