Skip to content

Commit

Permalink
Add maven profile jdk9+
Browse files Browse the repository at this point in the history
  • Loading branch information
banterCZ committed Aug 7, 2024
1 parent 145c6bd commit 282fade
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<java.version>8</java.version>
<maven-deploy-plugin.version>3.0.0</maven-deploy-plugin.version>
<maven-enforcer-plugin.version>3.1.0</maven-enforcer-plugin.version>
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
Expand Down Expand Up @@ -406,6 +405,16 @@
</repository>
</distributionManagement>
</profile>

<profile>
<id>jdk9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<properties>
<maven.compiler.release>${java.version}</maven.compiler.release>
</properties>
</profile>
</profiles>

<repositories>
Expand Down

0 comments on commit 282fade

Please sign in to comment.