[java-shib-metadata] branch main updated: Inline conditional Nashorn dependency.

Scott Cantor cantor.2 at osu.edu
Mon Nov 6 17:07:04 UTC 2023


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

scantor pushed a commit to branch main
in repository java-shib-metadata.

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-metadata.git;a=commit;h=a3c9d035ba510744eed963394135eab921bec7d0

The following commit(s) were added to refs/heads/main by this push:
     new a3c9d035 Inline conditional Nashorn dependency.
a3c9d035 is described below

commit a3c9d035ba510744eed963394135eab921bec7d0
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Nov 6 12:07:01 2023 -0500

    Inline conditional Nashorn dependency.
---
 shib-metadata-spring/pom.xml | 27 ++++++---------------------
 1 file changed, 6 insertions(+), 21 deletions(-)

diff --git a/shib-metadata-spring/pom.xml b/shib-metadata-spring/pom.xml
index 9f1b0315..b80ef67d 100644
--- a/shib-metadata-spring/pom.xml
+++ b/shib-metadata-spring/pom.xml
@@ -152,27 +152,12 @@
             <scope>test</scope>
         </dependency>
 
-    </dependencies>
+        <dependency>
+            <groupId>org.openjdk.nashorn</groupId>
+            <artifactId>nashorn-core</artifactId>
+            <scope>test</scope>
+        </dependency>
 
-    <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>
-                    <scope>test</scope>
-                </dependency>
-            </dependencies>
-        </profile>
-    </profiles>
+    </dependencies>
 
 </project>

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


More information about the commits mailing list