Skip to content

Commit 022bb5c

Browse files
committed
Require minimal versions of Maven and Java
1 parent 2c6a62d commit 022bb5c

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

pom.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,29 @@
186186
</execution>
187187
</executions>
188188
</plugin>
189+
<plugin>
190+
<groupId>org.apache.maven.plugins</groupId>
191+
<artifactId>maven-enforcer-plugin</artifactId>
192+
<version>3.5.0</version>
193+
<executions>
194+
<execution>
195+
<id>enforce-maven</id>
196+
<goals>
197+
<goal>enforce</goal>
198+
</goals>
199+
<configuration>
200+
<rules>
201+
<requireMavenVersion>
202+
<version>3.6.3</version>
203+
</requireMavenVersion>
204+
<requireJavaVersion>
205+
<version>11</version>
206+
</requireJavaVersion>
207+
</rules>
208+
</configuration>
209+
</execution>
210+
</executions>
211+
</plugin>
189212
</plugins>
190213
</build>
191214

0 commit comments

Comments
 (0)