Skip to content

Commit 0387023

Browse files
committed
Use Maven Enforcer plugin to require Maven >=3.0.5
1 parent 74aa2b2 commit 0387023

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,26 @@
286286
</testResource>
287287
</testResources>
288288
<plugins>
289+
<plugin>
290+
<groupId>org.apache.maven.plugins</groupId>
291+
<artifactId>maven-enforcer-plugin</artifactId>
292+
<version>1.4.1</version>
293+
<executions>
294+
<execution>
295+
<id>enforce-maven</id>
296+
<goals>
297+
<goal>enforce</goal>
298+
</goals>
299+
<configuration>
300+
<rules>
301+
<requireMavenVersion>
302+
<version>[3.0.5,)</version>
303+
</requireMavenVersion>
304+
</rules>
305+
</configuration>
306+
</execution>
307+
</executions>
308+
</plugin>
289309
<plugin>
290310
<groupId>com.amashchenko.maven.plugin</groupId>
291311
<artifactId>gitflow-maven-plugin</artifactId>

0 commit comments

Comments
 (0)