Skip to content

Commit

Permalink
Merge pull request #9 from gunnarmorling/java-16
Browse files Browse the repository at this point in the history
Upgrading to Java 16
  • Loading branch information
kbastani authored Jun 29, 2021
2 parents 05adb55 + 4abf914 commit 10d7181
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 12 deletions.
5 changes: 2 additions & 3 deletions java-scheduler/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@


<properties>
<java.version>11</java.version>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<java.version>16</java.version>
<maven.compiler.release>${java.version}</maven.compiler.release>
</properties>

<build>
Expand Down
2 changes: 1 addition & 1 deletion order/load-simulator/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM adoptopenjdk/openjdk14:alpine-slim
FROM adoptopenjdk/openjdk16:alpine-slim
ARG JAR_FILE=load-simulator-0.0.2-SNAPSHOT.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
5 changes: 2 additions & 3 deletions order/load-simulator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>14</java.version>
<java.version>16</java.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -49,8 +49,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>11</source>
<target>11</target>
<release>${java.version}</release>
</configuration>
</plugin>
<plugin>
Expand Down
2 changes: 1 addition & 1 deletion order/order-web/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM adoptopenjdk/openjdk14:alpine-slim
FROM adoptopenjdk/openjdk16:alpine-slim
ARG JAR_FILE=order-web-0.0.2-SNAPSHOT.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
5 changes: 2 additions & 3 deletions order/order-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>11</java.version>
<java.version>16</java.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -90,8 +90,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>11</source>
<target>11</target>
<release>${java.version}</release>
</configuration>
</plugin>
<plugin>
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-starters/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>14</java.version>
<java.version>16</java.version>
</properties>

<modules>
Expand Down

0 comments on commit 10d7181

Please sign in to comment.