From 3a0d025aded79fa04e5eb1bb90df57959372123b Mon Sep 17 00:00:00 2001 From: Alexander Pester <57684400+PestusAtSAG@users.noreply.github.com> Date: Tue, 30 Jul 2024 14:19:36 +0200 Subject: [PATCH 1/3] Create maven.yml --- .github/workflows/maven.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..9b50a10 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,31 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven + +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Java CI with Maven + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B package --file pom.xml From d0a5b0eedd3f687fb0e3ef24551b946c4e0c596c Mon Sep 17 00:00:00 2001 From: Pester Date: Tue, 30 Jul 2024 14:25:18 +0200 Subject: [PATCH 2/3] add docker skip property --- context/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context/pom.xml b/context/pom.xml index 794b577..b7ca2c9 100644 --- a/context/pom.xml +++ b/context/pom.xml @@ -95,7 +95,7 @@ templates-context templates-context UTF-8 - + ${c8y.docker.skip} From 6a5fed03ad07fffbea2a388641c748f521d57a82 Mon Sep 17 00:00:00 2001 From: Pester Date: Tue, 30 Jul 2024 14:42:03 +0200 Subject: [PATCH 3/3] use latest java client version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 09e8f55..285e8d8 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ 11 2.5.4 - 1017.73.0 + 1020.97.0 true 4.13