Skip to content

Commit 9c40667

Browse files
committed
add hive config
add release for 2.3.4 exclusion pentaho add huwaei ldap exclusion
1 parent 9202518 commit 9c40667

File tree

3 files changed

+58
-0
lines changed

3 files changed

+58
-0
lines changed

.github/workflows/release.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Build Hive
2+
on:
3+
push:
4+
branches: [ branch-3.1.patch, branch-2.3.4.patch ]
5+
pull_request:
6+
branches: [ branch-3.1.patch, branch-2.3.4.patch ]
7+
workflow_dispatch:
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
16+
17+
- name: Set up JDK 8
18+
uses: actions/setup-java@v3
19+
with:
20+
java-version: '8'
21+
distribution: 'temurin'
22+
cache: maven
23+
24+
- name: Cache Maven packages
25+
uses: actions/cache@v3
26+
with:
27+
path: ~/.m2
28+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
29+
restore-keys: ${{ runner.os }}-m2
30+
31+
- name: Build with Maven
32+
run: mvn clean package -Pdist -DskipTests
33+
34+
- name: Generate SHA256 checksum
35+
run: |
36+
cd packaging/target
37+
sha256sum apache-hive-2.3.4-bin.tar.gz > apache-hive-2.3.4-bin.tar.gz.sha256
38+
39+
- name: Upload to Release
40+
if: github.event_name == 'push'
41+
uses: softprops/action-gh-release@v1
42+
with:
43+
tag_name: hive-2.3.4-patched
44+
files: |
45+
packaging/target/apache-hive-2.3.4-bin.tar.gz
46+
packaging/target/apache-hive-2.3.4-bin.tar.gz.sha256
47+
env:
48+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,10 @@
208208

209209
<repositories>
210210
<!-- This needs to be removed before checking in-->
211+
<repository>
212+
<id>huawei-maven</id>
213+
<url>https://repo.huaweicloud.com/repository/maven/huaweicloudsdk/</url>
214+
</repository>
211215
<repository>
212216
<id>datanucleus</id>
213217
<name>datanucleus maven repository</name>

service/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,12 @@
182182
<artifactId>apacheds-server-integ</artifactId>
183183
<version>${apache-directory-server.version}</version>
184184
<scope>test</scope>
185+
<exclusions>
186+
<exclusion>
187+
<groupId>org.apache.directory.client.ldap</groupId>
188+
<artifactId>ldap-client-api</artifactId>
189+
</exclusion>
190+
</exclusions>
185191
</dependency>
186192

187193
<dependency>

0 commit comments

Comments
 (0)