This is an automated email from the ASF dual-hosted git repository.

rzo1 pushed a commit to branch amq6
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/amq6 by this push:
     new ef0b94bc31 Add ScriptEngine implementation for js on Java 15+
ef0b94bc31 is described below

commit ef0b94bc317e28c188e08192282728133dc2a749
Author: Richard Zowalla <13417392+r...@users.noreply.github.com>
AuthorDate: Fri Apr 12 16:24:39 2024 +0200

    Add ScriptEngine implementation for js on Java 15+
---
 tomee/tomee-webaccess/pom.xml | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/tomee/tomee-webaccess/pom.xml b/tomee/tomee-webaccess/pom.xml
index 1ce63c5d70..7ee4e7fcd6 100644
--- a/tomee/tomee-webaccess/pom.xml
+++ b/tomee/tomee-webaccess/pom.xml
@@ -28,12 +28,12 @@
   </properties>
   <profiles>
     <profile>
-      <id>java9</id>
+      <id>java11plus</id>
       <activation>
-        <jdk>9</jdk>
+        <jdk>[11,)</jdk>
       </activation>
       <properties>
-        <version.groovy>2.5.0-alpha-1</version.groovy>
+        <version.groovy>2.5.23</version.groovy>
       </properties>
     </profile>
     <profile>
@@ -42,6 +42,19 @@
         <activeByDefault>true</activeByDefault>
       </activation>
     </profile>
+    <profile>
+      <id>jdk15+</id>
+      <activation>
+        <jdk>[15,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>org.openjdk.nashorn</groupId>
+          <artifactId>nashorn-core</artifactId>
+          <scope>test</scope>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
   <dependencyManagement>
     <dependencies>

Reply via email to