Skip to content

Commit

Permalink
Use --release to set releases for the Java compiler on distribution…
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePrez committed May 13, 2023
1 parent d07b521 commit c43b634
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pom-dist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@
<configuration>
<source>8</source>
<target>8</target>
<release>8</release>
<fork>true</fork>
<compileSourceRoots>
<compileSourceRoot>${basedir}/target/sources_java8
Expand All @@ -457,6 +458,7 @@
<configuration>
<source>11</source>
<target>11</target>
<release>11</release>
<fork>true</fork>
<compileSourceRoots>
<compileSourceRoot>${basedir}/target/sources_java11
Expand All @@ -481,6 +483,7 @@
<configuration>
<source>7</source>
<target>7</target>
<release>7</release>
<fork>true</fork>
<excludes>
<exclude>**/module-info.java</exclude>
Expand All @@ -498,6 +501,7 @@
<!-- <executable>${jdk.11.executable.path}</executable> -->
<source>7</source>
<target>7</target>
<release>7</release>
<fork>true</fork>
<excludes>
<exclude>**/module-info.java</exclude>
Expand Down

0 comments on commit c43b634

Please sign in to comment.