Skip to content

Commit

Permalink
Enforce a minimum Java version and add a java.version property
Browse files Browse the repository at this point in the history
  • Loading branch information
arteymix committed Jul 27, 2024
1 parent 668ae02 commit 1b23617
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@
<requireMavenVersion>
<version>[3.6.3,)</version>
</requireMavenVersion>
<requireJavaVersion>
<version>[${java.version},)</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
Expand Down Expand Up @@ -428,9 +431,10 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>
<java.version>11</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven.compiler.release>${java.version}</maven.compiler.release>
<log4j.version>2.23.1</log4j.version>
<slf4j.version>2.0.13</slf4j.version>
<hibernate.version>4.3.11.Final</hibernate.version>
Expand Down

0 comments on commit 1b23617

Please sign in to comment.