mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
[MINOR] adopt maven wrapper to use the same version of Maven
This commit is contained in:
parent
d5e9bbb953
commit
a606683ee5
4 changed files with 25 additions and 8 deletions
12
.github/workflows/frontend.yml
vendored
12
.github/workflows/frontend.yml
vendored
|
|
@ -44,9 +44,9 @@ jobs:
|
|||
restore-keys: |
|
||||
${{ runner.os }}-zeppelin-
|
||||
- name: Install application
|
||||
run: mvn -B install -DskipTests -DskipRat -pl ${INTERPRETERS} -Phadoop2 -Pscala-2.11
|
||||
run: ./mvnw -B install -DskipTests -DskipRat -pl ${INTERPRETERS} -Phadoop2 -Pscala-2.11
|
||||
- name: Run headless test
|
||||
run: xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" mvn verify -DskipRat -pl zeppelin-web -Phadoop2 -Pscala-2.11 -Pweb-e2e -B
|
||||
run: xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" ./mvnw verify -DskipRat -pl zeppelin-web -Phadoop2 -Pscala-2.11 -Pweb-e2e -B
|
||||
run-tests-in-zeppelin-web-angular:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
|
|
@ -69,7 +69,7 @@ jobs:
|
|||
restore-keys: |
|
||||
${{ runner.os }}-zeppelin-
|
||||
- name: Run headless test
|
||||
run: xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" mvn package -DskipRat -pl zeppelin-web-angular -Pweb-angular -B
|
||||
run: xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" ./mvnw package -DskipRat -pl zeppelin-web-angular -Pweb-angular -B
|
||||
|
||||
test-selenium-with-spark-module-for-spark-2-3:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
@ -107,8 +107,8 @@ jobs:
|
|||
R -e "IRkernel::installspec()"
|
||||
- name: install environment
|
||||
run: |
|
||||
mvn clean install -DskipTests -DskipRat -pl ${INTERPRETERS} -Pspark-2.3 -Phadoop2 -Phelium-dev -Pexamples -Pintegration -Pspark-scala-2.11 -B
|
||||
mvn clean package -pl zeppelin-plugins -amd -B
|
||||
./mvnw clean install -DskipTests -DskipRat -pl ${INTERPRETERS} -Pspark-2.3 -Phadoop2 -Phelium-dev -Pexamples -Pintegration -Pspark-scala-2.11 -B
|
||||
./mvnw clean package -pl zeppelin-plugins -amd -B
|
||||
./testing/downloadSpark.sh "2.3.2" "2.6"
|
||||
- name: run tests
|
||||
run: xvfb-run --auto-servernum --server-args="-screen 0 1600x1024x16" mvn verify -DskipRat -Pspark-2.3 -Phadoop2 -Phelium-dev -Pexamples -Pintegration -Pspark-scala-2.11 -B -pl zeppelin-integration -DfailIfNoTests=false
|
||||
run: xvfb-run --auto-servernum --server-args="-screen 0 1600x1024x16" ./mvnw verify -DskipRat -Pspark-2.3 -Phadoop2 -Phelium-dev -Pexamples -Pintegration -Pspark-scala-2.11 -B -pl zeppelin-integration -DfailIfNoTests=false
|
||||
|
|
|
|||
2
.github/workflows/rat.yml
vendored
2
.github/workflows/rat.yml
vendored
|
|
@ -27,4 +27,4 @@ jobs:
|
|||
distribution: 'adopt'
|
||||
java-version: 8
|
||||
- name: Check Rat
|
||||
run: mvn apache-rat:check -Prat -B
|
||||
run: ./mvnw apache-rat:check -Prat -B
|
||||
|
|
|
|||
17
.mvn/wrapper/maven-wrapper.properties
vendored
17
.mvn/wrapper/maven-wrapper.properties
vendored
|
|
@ -1,2 +1,19 @@
|
|||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed with
|
||||
# this work for additional information regarding copyright ownership.
|
||||
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
# (the "License"); you may not use this file except in compliance with
|
||||
# the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.1/apache-maven-3.8.1-bin.zip
|
||||
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ Check [here](https://spark.apache.org/docs/latest/running-on-kubernetes.html) to
|
|||
To build your own Zeppelin image, first build Zeppelin project with `-Pbuild-distr` flag.
|
||||
|
||||
```
|
||||
$ mvn package -DskipTests -Pbuild-distr <your flags>
|
||||
$ ./mvnw package -DskipTests -Pbuild-distr <your flags>
|
||||
```
|
||||
|
||||
Binary package will be created under `zeppelin-distribution/target` directory. Move created package file under `scripts/docker/zeppelin/bin/` directory.
|
||||
|
|
|
|||
Loading…
Reference in a new issue