Skip to content

Commit cb1f461

Browse files
committed
Enforce maven 3.5.4 or newer
1 parent c6002e5 commit cb1f461

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

pom.xml

+21-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<dependency>
1212
<groupId>junit</groupId>
1313
<artifactId>junit</artifactId>
14-
<version>4.13.1</version>
14+
<version>4.13.2</version>
1515
<scope>test</scope>
1616
</dependency>
1717
</dependencies>
@@ -44,6 +44,26 @@
4444
</archive>
4545
</configuration>
4646
</plugin>
47+
<plugin>
48+
<groupId>org.apache.maven.plugins</groupId>
49+
<artifactId>maven-enforcer-plugin</artifactId>
50+
<version>3.0.0-M3</version>
51+
<executions>
52+
<execution>
53+
<id>enforce-maven</id>
54+
<goals>
55+
<goal>enforce</goal>
56+
</goals>
57+
<configuration>
58+
<rules>
59+
<requireMavenVersion>
60+
<version>[3.5.4,)</version>
61+
</requireMavenVersion>
62+
</rules>
63+
</configuration>
64+
</execution>
65+
</executions>
66+
</plugin>
4767
</plugins>
4868
</build>
4969
</project>

0 commit comments

Comments
 (0)