Skip to content

Commit 03b2a8b

Browse files
committed
#184: added plugins for maven
1 parent f5f02ea commit 03b2a8b

File tree

4 files changed

+782
-29
lines changed

4 files changed

+782
-29
lines changed

.github/workflows/maven-build.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: mvn
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
jobs:
10+
test:
11+
name: Tests
12+
strategy:
13+
matrix:
14+
os: [ubuntu-20.04, windows-2022, macos-12]
15+
java: [11, 17]
16+
runs-on: ${{ matrix.os }}
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: actions/setup-java@v3
20+
with:
21+
distribution: 'temurin'
22+
java-version: ${{ matrix.java }}
23+
- uses: actions/cache@v3
24+
with:
25+
path: ~/.m2/repository
26+
key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }}
27+
restore-keys: |
28+
${{ runner.os }}-jdk-${{ matrix.java }}-maven-
29+
- run: mvn clean install

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ j2eo-data
2222
gradlew
2323
gradlew.bat
2424
gradle
25-
target
25+
target
26+
.classpath
27+
.project
28+
.settings/
29+
ktlint

0 commit comments

Comments
 (0)