Skip to content

Commit

Permalink
Set maven.compiler flags explicitly (#13710)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitsultana committed Jul 30, 2024
1 parent 3390946 commit 75e297e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@
<jdk.version>11</jdk.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<!-- Setting maven.compiler flags to the jdk version. These are used by maven plugins like maven-javadoc-plugin -->
<maven.compiler.release>${jdk.version}</maven.compiler.release>
<maven.compiler.source>${jdk.version}</maven.compiler.source>
<maven.compiler.target>${jdk.version}</maven.compiler.target>

<!-- Configuration for unit/integration tests
Property for running integration tests with profiles
at the command line, where you do:
Expand Down

0 comments on commit 75e297e

Please sign in to comment.