Skip to content

Commit

Permalink
Raise Java version for Maven plugins from 11 to 17 (in pom.xml).
Browse files Browse the repository at this point in the history
  • Loading branch information
jarkkoka committed Aug 28, 2023
1 parent 01c2cbe commit e2b5aa0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions spring-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,21 @@
<groupId>fi.hsl.jore4</groupId>
<artifactId>map-matching-backend</artifactId>
<packaging>jar</packaging>
<version>1.1.1</version>
<version>1.1.2</version>
<name>Jore4 Map Matching</name>
<description>Jore4 map matching server</description>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<java.version>11</java.version>
<java.version>17</java.version>
<kotlin.compiler.jvmTarget>${java.version}</kotlin.compiler.jvmTarget>
<kotlin.compiler.incremental>true</kotlin.compiler.incremental>

<!-- Maven build plugins and their dependencies -->
<build-helper-plugin.version>3.2.0</build-helper-plugin.version>
<build-properties-plugin.version>1.0.0</build-properties-plugin.version>
<maven-compiler.plugin.version>3.11.0</maven-compiler.plugin.version>
<surefire-plugin.version>2.22.2</surefire-plugin.version>

<!-- Library versions -->
Expand Down Expand Up @@ -323,7 +324,7 @@
<version>[3.3.9,)</version>
</requireMavenVersion>
<requireJavaVersion>
<message>You are running an incompatible version of Java. JDK 11 is required</message>
<message>You are running an incompatible version of Java. JDK ${java.version} is required</message>
<version>${java.version}</version>
</requireJavaVersion>
</rules>
Expand Down Expand Up @@ -401,7 +402,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>${maven-compiler.plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
Expand Down

0 comments on commit e2b5aa0

Please sign in to comment.