We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d50959 commit 6f979b2Copy full SHA for 6f979b2
pom.xml
@@ -263,6 +263,28 @@
263
264
<plugins> <!-- plugins inherited by all child POMs -->
265
266
+ <!-- Java version enforcer -->
267
+ <plugin>
268
+ <groupId>org.apache.maven.plugins</groupId>
269
+ <artifactId>maven-enforcer-plugin</artifactId>
270
+ <version>3.6.2</version>
271
+ <executions>
272
+ <execution>
273
+ <id>enforce-java</id>
274
+ <goals>
275
+ <goal>enforce</goal>
276
+ </goals>
277
+ <configuration>
278
+ <rules>
279
+ <requireJavaVersion>
280
+ <version>[21,)</version>
281
+ </requireJavaVersion>
282
+ </rules>
283
+ </configuration>
284
+ </execution>
285
+ </executions>
286
+ </plugin>
287
+
288
<!-- static analysis -->
289
<plugin>
290
<groupId>com.github.spotbugs</groupId>
0 commit comments