diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
new file mode 100644
index 0000000..c7bf855
--- /dev/null
+++ b/.github/workflows/build-test.yml
@@ -0,0 +1,41 @@
+name: Build and test
+
+on:
+ push:
+ branches:
+ - main
+ pull_request:
+ branches:
+ - main
+
+concurrency:
+ group: "workflow = ${{ github.workflow }}, ref = ${{ github.event.ref }}, pr = ${{ github.event.pull_request.id }}"
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
+jobs:
+ build-test:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ java:
+ - '17'
+ - '21'
+ project:
+ - orders
+ - inventory
+ - gateway
+ name: "build-test-${{ matrix.project.name }}-${{ matrix.java }}"
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Setup Java ${{ matrix.java }}
+ uses: actions/setup-java@v4
+ with:
+ java-version: ${{ matrix.java }}
+ distribution: temurin
+ cache: maven
+
+ - name: "build-test-jvm-${{ matrix.project.name }}-java-${{ matrix.java }}"
+ working-directory: ${{ matrix.project.name }}
+ run: ./mvnw -B clean verify -Dmaven.compiler.release=${{ matrix.java }}
diff --git a/orders/pom.xml b/orders/pom.xml
index a691d65..3e03f15 100644
--- a/orders/pom.xml
+++ b/orders/pom.xml
@@ -8,10 +8,9 @@
2.0.0-SNAPSHOT
- 3.11.0
+ 3.13.0
17
- 2021.0.3
- 2.22.2
+ 3.2.5
3.2.4
2.11.5.redhat-00017
@@ -98,30 +97,12 @@
-
-
-
- src/main/resources
- false
-
-
- src/main/resources/static
- true
- static
-
-
-
-
- src/test/resources
- true
-
-
maven-compiler-plugin
${maven.compiler.version}
- ${maven.compiler.release.version}
+ ${maven.compiler.release}