Skip to content

Commit

Permalink
Add Maven Enforcer plugin.
Browse files Browse the repository at this point in the history
Add the Maven Enforcer plugin to require a minimum version of Maven
(3.6.3) to build the project.
  • Loading branch information
gouttegd committed Sep 7, 2024
1 parent 5dc9b41 commit e617e3c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,26 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.6.3</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down

0 comments on commit e617e3c

Please sign in to comment.