Skip to content

Commit 7c07faa

Browse files
committed
chore: upgrade maven and use wrapper
1 parent 080b8b2 commit 7c07faa

File tree

5 files changed

+438
-11
lines changed

5 files changed

+438
-11
lines changed

.github/workflows/android-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
matrix:
1919
java_version: [8, 11, 17, 21]
2020
steps:
21-
- name: Setup Maven Action
22-
21+
- uses: actions/checkout@v4
2322
with:
24-
checkout-fetch-depth: 0
23+
fetch-depth: 0
24+
- uses: actions/setup-java@v4
25+
with:
26+
distribution: 'temurin'
2527
java-version: ${{ matrix.java_version }}
26-
java-distribution: temurin
27-
maven-version: 3.8.7
2828
- name: Install Android SDK
2929
uses: malinskiy/action-android/install-sdk@release/0.1.1
3030
- name: Install latest jsonschema2pojo SNAPSHOT

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
max-parallel: 4
2121
name: Test JDK ${{ matrix.java_version }}
2222
steps:
23-
- name: Setup Maven Action
24-
23+
- uses: actions/checkout@v4
2524
with:
26-
checkout-fetch-depth: 0
25+
fetch-depth: 0
26+
- uses: actions/setup-java@v4
27+
with:
28+
distribution: 'temurin'
2729
java-version: ${{ matrix.java_version }}
28-
java-distribution: temurin
29-
maven-version: 3.8.7
3030
- name: Verify with Maven
31-
run: mvn verify -B
31+
run: ./mvnw verify -B
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
wrapperVersion=3.3.2
18+
distributionType=only-script
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.8/apache-maven-3.9.8-bin.zip

mvnw

Lines changed: 259 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)