Skip to content

Commit

Permalink
Configure m-compiler-p to use release flag for earlier JDKs
Browse files Browse the repository at this point in the history
  • Loading branch information
pzygielo committed Dec 3, 2022
1 parent b9965e4 commit 35316dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,12 @@
</profile>

<profile>
<id>java12</id>
<id>java9+</id>
<activation>
<jdk>[12,)</jdk>
<jdk>[9,)</jdk>
</activation>
<properties>
<maven.compiler.release>8</maven.compiler.release>
<maven.compiler.release>${mojo.java.target}</maven.compiler.release>
</properties>
</profile>
</profiles>
Expand Down

0 comments on commit 35316dd

Please sign in to comment.