Open gnodet opened 1 month ago
Using the Maven enforcer plugin?
@garydgregory Adding \
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-maven-version</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>${minimalMavenBuildVersion}</version>
</requireMavenVersion>
<requireJavaVersion>
<level>ERROR</level>
<version>${minimalJavaBuildVersion}</version>
</requireJavaVersion>
...
👍
Description
Enforce usage of JDK 17 at build time
Motivation
It seems required as indicated in the README...
Alternatives considered
No response
Additional context
No response