From 698a5e08091a204014446630dca47c9871686fad Mon Sep 17 00:00:00 2001
From: ismail simsek <6005685+ismailsimsek@users.noreply.github.com>
Date: Tue, 24 Sep 2024 14:52:11 +0200
Subject: [PATCH] Upgrade release to java 17 (#193)
* Upgrade release to java 17
* Upgrade release to java 17
---
.github/workflows/codeql-analysis.yml | 10 ++++++++--
Dockerfile | 2 +-
pom.xml | 6 +++---
3 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 5e92ee4..f2036b1 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- language: [ 'java', 'python' ]
+ language: [ 'java' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
@@ -40,7 +40,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- # Initializes the CodeQL tools for scanning.
+ - name: Set up JDK 17
+ uses: actions/setup-java@v4
+ with:
+ distribution: 'temurin'
+ java-version: 17
+
+ # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
diff --git a/Dockerfile b/Dockerfile
index 84e3468..2b7e0e9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,7 +5,7 @@ WORKDIR /app
RUN mvn clean package -Passembly -Dmaven.test.skip --quiet
RUN unzip /app/debezium-server-bigquery-dist/target/debezium-server-bigquery-dist*.zip -d appdist
-FROM eclipse-temurin:11-jre
+FROM eclipse-temurin:17-jre
COPY --from=builder /app/appdist/debezium-server-bigquery/ /app/
WORKDIR /app
diff --git a/pom.xml b/pom.xml
index a374d23..29515f8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,9 +21,9 @@
UTF-8
- 11
- 11
- 11
+ 17
+ 17
+ 17
true
3.0.22