Skip to content

Commit a357430

Browse files
committed
Remove maven-enforcer from the build
It is configured to check for Maven 3.9.0 which is definetely not enough for Tycho for a while (https://github.com/eclipse-tycho/tycho/blob/936379891707b19d19a4879c6b7271ef11c9a498/pom.xml#L70 ). As no one noticed nor complained this seems to be totally useless execution in the build.
1 parent a4d9149 commit a357430

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

eclipse-platform-parent/pom.xml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@
2121
<artifactId>eclipse-platform-parent</artifactId>
2222
<version>4.37.0-SNAPSHOT</version>
2323
<packaging>pom</packaging>
24-
<!--
25-
See maven-enforcer-plugin configuration to actually break the build if
26-
run with older maven.
27-
prerequisites section is kept for now as even if it doesn't break the build, it
28-
is used by other plugins like versions-maven-plugin which check and warn
29-
for using plugins with older than they require Maven version.
30-
If version number changed in one place, be sure to change in the other.
31-
-->
3224
<prerequisites>
3325
<maven>3.9.9</maven>
3426
</prerequisites>
@@ -313,34 +305,6 @@
313305
</execution>
314306
</executions>
315307
</plugin>
316-
<plugin>
317-
<!--
318-
This maven-enforcer-plugin configuration to actually break the build if
319-
run with older maven.
320-
prerequisites section is kept for now as even if it doesn't break the build, it
321-
is used by other plugins like versions-maven-plugin which check and warn
322-
for using plugins with older than they require Maven version.
323-
If version number changed in one place, be sure to change in the other.
324-
-->
325-
<groupId>org.apache.maven.plugins</groupId>
326-
<artifactId>maven-enforcer-plugin</artifactId>
327-
<version>3.6.0</version>
328-
<executions>
329-
<execution>
330-
<id>enforce-maven</id>
331-
<goals>
332-
<goal>enforce</goal>
333-
</goals>
334-
<configuration>
335-
<rules>
336-
<requireMavenVersion>
337-
<version>3.9.0</version>
338-
</requireMavenVersion>
339-
</rules>
340-
</configuration>
341-
</execution>
342-
</executions>
343-
</plugin>
344308
<plugin>
345309
<groupId>org.eclipse.tycho.extras</groupId>
346310
<artifactId>tycho-p2-extras-plugin</artifactId>

0 commit comments

Comments
 (0)