[java-idp-testbed] branch main updated: Use Nashorn by default.

Scott Cantor cantor.2 at osu.edu
Wed Mar 6 18:25:10 UTC 2024


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository java-idp-testbed.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-testbed.git;a=commit;h=4988442fb127bfa09ed2d831b030ac910262097a

The following commit(s) were added to refs/heads/main by this push:
     new 4988442  Use Nashorn by default.
4988442 is described below

commit 4988442fb127bfa09ed2d831b030ac910262097a
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Mar 6 13:25:06 2024 -0500

    Use Nashorn by default.
---
 pom.xml | 27 +++++++--------------------
 1 file changed, 7 insertions(+), 20 deletions(-)

diff --git a/pom.xml b/pom.xml
index 3aa8d9f..ef15a2a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -488,6 +488,13 @@
             <artifactId>hsqldb</artifactId>
             <scope>runtime</scope>
         </dependency>
+
+        <dependency>
+            <groupId>org.openjdk.nashorn</groupId>
+            <artifactId>nashorn-core</artifactId>
+            <version>${nashorn.jdk.version}</version>
+            <scope>runtime</scope>
+        </dependency>
         
         <!--
         TODO: No Jakarta support yet.
@@ -606,26 +613,6 @@
         
     </dependencies>
 
-    <profiles>
-        <!--
-            Pull in a Javascript engine for testing in Java
-            versions where the JDK doesn't provide one.
-        -->
-        <profile>
-            <id>get-nashorn</id>
-            <activation>
-                <jdk>[15,</jdk>
-            </activation>
-            <dependencies>
-                <dependency>
-                    <groupId>org.openjdk.nashorn</groupId>
-                    <artifactId>nashorn-core</artifactId>
-                    <version>${nashorn.jdk.version}</version>
-                </dependency>
-            </dependencies>
-        </profile>
-    </profiles>
-
     <build>
         <plugins>
             <!-- Build a war in addition to a jar. -->

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list