This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git
The following commit(s) were added to refs/heads/main by this push:
new cbc15b6793 QPID-8731: [Broker-J] Added enforcer rule to the
apache-release profile to require Java 25 or newer
cbc15b6793 is described below
commit cbc15b6793542277dc32143c1d8241e8ca2ba90a
Author: Tomas Vavricka <[email protected]>
AuthorDate: Thu Jul 30 15:34:46 2026 +0200
QPID-8731: [Broker-J] Added enforcer rule to the apache-release profile to
require Java 25 or newer
---
pom.xml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/pom.xml b/pom.xml
index 1e6e2c66cb..5fcaedd30f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1636,6 +1636,26 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-java-version</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireJavaVersion>
+ <version>[25,)</version>
+ <message>JDK 25 is required when building the
release</message>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]