Skip to content

Commit fca9dc4

Browse files
committed
Enforce required minimum Maven version and bump plugin versions.
1 parent fada11d commit fca9dc4

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

graal-js/test/maven-demo/pom.xml

+24-4
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,15 @@
118118
<plugins>
119119
<plugin>
120120
<artifactId>maven-surefire-plugin</artifactId>
121-
<version>3.1.2</version>
121+
<version>3.2.5</version>
122122
<configuration>
123123
<argLine>-XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI --add-exports=java.base/jdk.internal.misc=jdk.graal.compiler --upgrade-module-path=${compiler.dir}</argLine>
124124
</configuration>
125125
</plugin>
126126
<plugin>
127127
<groupId>org.apache.maven.plugins</groupId>
128128
<artifactId>maven-dependency-plugin</artifactId>
129-
<version>3.6.0</version>
129+
<version>3.6.1</version>
130130
<executions>
131131
<execution>
132132
<id>copy</id>
@@ -255,15 +255,15 @@
255255
<plugins>
256256
<plugin>
257257
<artifactId>maven-compiler-plugin</artifactId>
258-
<version>3.11.0</version>
258+
<version>3.12.1</version>
259259
<configuration>
260260
<target>17</target>
261261
<source>17</source>
262262
</configuration>
263263
</plugin>
264264
<plugin>
265265
<artifactId>maven-surefire-plugin</artifactId>
266-
<version>3.1.2</version>
266+
<version>3.2.5</version>
267267
</plugin>
268268
<plugin>
269269
<groupId>org.codehaus.mojo</groupId>
@@ -305,6 +305,26 @@
305305
</archive>
306306
</configuration>
307307
</plugin>
308+
<plugin>
309+
<groupId>org.apache.maven.plugins</groupId>
310+
<artifactId>maven-enforcer-plugin</artifactId>
311+
<version>3.4.1</version>
312+
<executions>
313+
<execution>
314+
<id>enforce-maven</id>
315+
<goals>
316+
<goal>enforce</goal>
317+
</goals>
318+
<configuration>
319+
<rules>
320+
<requireMavenVersion>
321+
<version>3.2.5</version>
322+
</requireMavenVersion>
323+
</rules>
324+
</configuration>
325+
</execution>
326+
</executions>
327+
</plugin>
308328
</plugins>
309329
</build>
310330
</project>

0 commit comments

Comments
 (0)