Skip to content

Commit

Permalink
Enforce java compilation version in pom
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Khare authored and Kartik Khare committed Jul 31, 2022
1 parent 7197461 commit c29b211
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1344,6 +1344,21 @@
</goals>
<phase>validate</phase>
</execution>
<execution>
<id>default-cli-java-version</id>
<phase>validate</phase>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>11</version>
<message>Pinot requires Java11 JDK for compilation</message>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
<configuration>
<rules>
Expand Down

0 comments on commit c29b211

Please sign in to comment.