This is an automated email from the ASF dual-hosted git repository. kusal pushed a commit to branch WW-5531-jre8-compat in repository https://gitbox.apache.org/repos/asf/struts.git
commit fe5b1977383b05f08eaa049385b0f67eb19b8f8a Author: Kusal Kithul-Godage <g...@kusal.io> AuthorDate: Thu Feb 20 16:23:10 2025 +1100 WW-5531 Enforce JRE8 compatibility (when compiled on JDK9+) --- pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pom.xml b/pom.xml index f38c0be3a..8fcd4bbc6 100644 --- a/pom.xml +++ b/pom.xml @@ -183,6 +183,15 @@ </pluginManagement> </build> </profile> + <profile> + <id>jdk9plus</id> + <activation> + <jdk>[9,)</jdk> + </activation> + <properties> + <maven.compiler.release>8</maven.compiler.release> + </properties> + </profile> <profile> <id>jdk17</id> <activation>