Skip to content

Commit f1cc983

Browse files
author
Gary Gregory
committed
Fix Maven ERROR messages.
[ERROR] Project requires an incorrect minimum version of Maven. [ERROR] Update the pom.xml to contain maven-enforcer-plugin to [ERROR] force the Maven version which is needed to build this project. [ERROR] See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html [ERROR] Using the minimum version of Maven: 3.0.5
1 parent 364c89e commit f1cc983

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
@@ -328,6 +328,26 @@ file comparators, endian transformation classes, and much more.
328328
</plugins>
329329
</pluginManagement>
330330
<plugins>
331+
<plugin>
332+
<groupId>org.apache.maven.plugins</groupId>
333+
<artifactId>maven-enforcer-plugin</artifactId>
334+
<version>3.0.0-M3</version>
335+
<executions>
336+
<execution>
337+
<id>enforce-maven</id>
338+
<goals>
339+
<goal>enforce</goal>
340+
</goals>
341+
<configuration>
342+
<rules>
343+
<requireMavenVersion>
344+
<version>3.0.5</version>
345+
</requireMavenVersion>
346+
</rules>
347+
</configuration>
348+
</execution>
349+
</executions>
350+
</plugin>
331351
<plugin>
332352
<groupId>org.apache.maven.plugins</groupId>
333353
<artifactId>maven-jar-plugin</artifactId>

0 commit comments

Comments
 (0)