Skip to content

Commit

Permalink
Changed the maven compiler flag to use the release flag instead to co…
Browse files Browse the repository at this point in the history
…rrectly set the JDK bootclasspath
  • Loading branch information
endoplasmicR authored and cyrille-leclerc committed Mar 1, 2021
1 parent b11e14b commit 675f592
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,9 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<!-- we need to use the release flag instead of source/target because the target does not link correctly -->
<!-- see https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html -->
<release>7</release>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 675f592

Please sign in to comment.