Skip to content

Commit bb547d3

Browse files
skloesselmpkorstanje
authored andcommitted
Enforce the use of Maven 3.6.3 or higher
1 parent efb3cc6 commit bb547d3

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

pom.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,27 @@
142142

143143
<build>
144144
<plugins>
145+
<plugin>
146+
<groupId>org.apache.maven.plugins</groupId>
147+
<artifactId>maven-enforcer-plugin</artifactId>
148+
<executions>
149+
<execution>
150+
<id>enforce-maven-3-6-3-plus</id>
151+
<goals>
152+
<goal>enforce</goal>
153+
</goals>
154+
<configuration>
155+
<fail>true</fail>
156+
<rules>
157+
<requireMavenVersion>
158+
<version>3.6.3</version>
159+
</requireMavenVersion>
160+
</rules>
161+
</configuration>
162+
</execution>
163+
</executions>
164+
</plugin>
165+
145166
<plugin>
146167
<groupId>org.apache.maven.plugins</groupId>
147168
<artifactId>maven-resources-plugin</artifactId>

0 commit comments

Comments
 (0)