Skip to content

Commit 9007922

Browse files
committed
QPIDJMS-620: update to Apache parent pom 37
- Defer to parent enforcer checks for Maven and Java versions. - Now requires Maven 3.9+ to build. (cherry picked from commit 9cbf7b7) with fixups
1 parent ea8d9dc commit 9007922

File tree

1 file changed

+3
-35
lines changed

1 file changed

+3
-35
lines changed

pom.xml

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<parent>
1919
<groupId>org.apache</groupId>
2020
<artifactId>apache</artifactId>
21-
<version>33</version>
21+
<version>37</version>
2222
</parent>
2323
<modelVersion>4.0.0</modelVersion>
2424

@@ -64,6 +64,8 @@
6464
<maven.compiler.target>11</maven.compiler.target>
6565
<maven.compiler.release>11</maven.compiler.release>
6666

67+
<javaVersion>11</javaVersion>
68+
6769
<project.build.outputTimestamp>2025-09-12T15:57:44Z</project.build.outputTimestamp>
6870

6971
<!-- Test properties -->
@@ -375,40 +377,6 @@
375377
</excludes>
376378
</configuration>
377379
</plugin>
378-
<plugin>
379-
<groupId>org.apache.maven.plugins</groupId>
380-
<artifactId>maven-enforcer-plugin</artifactId>
381-
<executions>
382-
<execution>
383-
<id>enforce-java-version</id>
384-
<goals>
385-
<goal>enforce</goal>
386-
</goals>
387-
<configuration>
388-
<rules>
389-
<requireJavaVersion>
390-
<version>[11,)</version>
391-
<message>You must use Java 11+ to build</message>
392-
</requireJavaVersion>
393-
</rules>
394-
</configuration>
395-
</execution>
396-
<execution>
397-
<id>enforce-maven-version</id>
398-
<goals>
399-
<goal>enforce</goal>
400-
</goals>
401-
<configuration>
402-
<rules>
403-
<requireMavenVersion>
404-
<version>3.5.0</version>
405-
<message>You must use Maven 3.5.0+ to build</message>
406-
</requireMavenVersion>
407-
</rules>
408-
</configuration>
409-
</execution>
410-
</executions>
411-
</plugin>
412380
</plugins>
413381
</build>
414382

0 commit comments

Comments
 (0)