File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 13401340 </activation >
13411341 <build >
13421342 <plugins >
1343+ <plugin >
1344+ <groupId >org.apache.maven.plugins</groupId >
1345+ <artifactId >maven-enforcer-plugin</artifactId >
1346+ <executions >
1347+ <execution >
1348+ <id >enforce-maven</id >
1349+ <goals >
1350+ <goal >enforce</goal >
1351+ </goals >
1352+ <configuration >
1353+ <rules >
1354+ <requireMavenVersion >
1355+ <version >3.0.5</version >
1356+ </requireMavenVersion >
1357+ </rules >
1358+ </configuration >
1359+ </execution >
1360+ <execution >
1361+ <id >enforce-java-version</id >
1362+ <goals >
1363+ <goal >enforce</goal >
1364+ </goals >
1365+ <configuration >
1366+ <rules >
1367+ <requireJavaVersion >
1368+ <version >[21,)</version >
1369+ <message >You must use Java 21+ to release.</message >
1370+ </requireJavaVersion >
1371+ </rules >
1372+ </configuration >
1373+ </execution >
1374+ </executions >
1375+ </plugin >
13431376 <plugin >
13441377 <groupId >org.apache.maven.plugins</groupId >
13451378 <artifactId >maven-surefire-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments