You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rz...@apache.org on 2024/04/12 09:52:51 UTC

(tomee) 02/06: Add ScriptEngine implementation for js on Java 15+

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

commit 392d68b311daecbb57ff67912809b0cd1c225757
Author: Markus Jung <ju...@apache.org>
AuthorDate: Fri Apr 12 07:40:19 2024 +0200

    Add ScriptEngine implementation for js on Java 15+
---
 examples/testing-security-4/pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/examples/testing-security-4/pom.xml b/examples/testing-security-4/pom.xml
index 3ae6b9b38f..2b6e8ffb1c 100644
--- a/examples/testing-security-4/pom.xml
+++ b/examples/testing-security-4/pom.xml
@@ -96,4 +96,21 @@
       <url>file://${basedir}/target/snapshot-repo/</url>
     </snapshotRepository>
   </distributionManagement>
+
+  <profiles>
+    <profile>
+      <id>jdk15+</id>
+      <activation>
+        <jdk>[15,)</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>org.openjdk.nashorn</groupId>
+          <artifactId>nashorn-core</artifactId>
+          <version>15.4</version>
+          <scope>test</scope>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
 </project>