Aktualisierung auf Java 17
authorKai Moritz <kai@juplo.de>
Sat, 17 Jun 2023 12:43:40 +0000 (14:43 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 17 Jun 2023 16:03:11 +0000 (18:03 +0200)
Dockerfile
pom.xml

index 4e18a46..595fe16 100644 (file)
@@ -1,4 +1,4 @@
-FROM openjdk:11-jre
+FROM openjdk:17-jdk-slim
 VOLUME /tmp
 COPY target/*.jar /opt/app.jar
 COPY target/libs /opt/libs
diff --git a/pom.xml b/pom.xml
index 9bd2418..2928676 100644 (file)
--- a/pom.xml
+++ b/pom.xml
   <name>Super Simple Producer</name>
   <version>1.0-SNAPSHOT</version>
 
+  <properties>
+    <java.version>17</java.version>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>org.apache.kafka</groupId>