[java-identity-provider] 04/04: JSPT-95 Selectively add graal into the test scope

Rod Widdowson rdw at steadingsoftware.com
Wed Jun 10 14:29:40 UTC 2020


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

rdw pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=d8405b26c7a96cde0e668703421dbe55bde19aff

commit d8405b26c7a96cde0e668703421dbe55bde19aff
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed May 13 11:04:52 2020 +0100

    JSPT-95 Selectively add graal into the test scope
    
    https://issues.shibboleth.net/jira/browse/JSPT-95
    
    Deployments will collect these via a plugin, our test-end point
    is TBD.
---
 idp-attribute-filter-impl/pom.xml     | 13 +++++++++++++
 idp-attribute-filter-spring/pom.xml   | 20 +++++++++++++++++++-
 idp-attribute-resolver-impl/pom.xml   | 21 ++++++++++++++++++++-
 idp-attribute-resolver-spring/pom.xml | 13 +++++++++++++
 idp-conf/pom.xml                      | 13 ++++++++++++-
 idp-parent/pom.xml                    |  1 +
 idp-profile-api/pom.xml               | 13 +++++++++++++
 idp-profile-spring/pom.xml            | 13 +++++++++++++
 8 files changed, 104 insertions(+), 3 deletions(-)

diff --git a/idp-attribute-filter-impl/pom.xml b/idp-attribute-filter-impl/pom.xml
index 7c4b76043..2f8a2b1bd 100644
--- a/idp-attribute-filter-impl/pom.xml
+++ b/idp-attribute-filter-impl/pom.xml
@@ -157,6 +157,19 @@
             <type>test-jar</type>
             <scope>test</scope>
         </dependency>
+	<!-- We need these even if mvn dependency:analyze says we don't - loaded by service interface -->
+	<dependency>
+            <groupId>org.graalvm.js</groupId>
+            <artifactId>js</artifactId>
+            <version>${graalvm.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+	    <groupId>org.graalvm.sdk</groupId>
+	    <artifactId>graal-sdk</artifactId>
+	    <version>${graalvm.version}</version>
+            <scope>test</scope>
+        </dependency>
 
     </dependencies>
 
diff --git a/idp-attribute-filter-spring/pom.xml b/idp-attribute-filter-spring/pom.xml
index b39c64202..ad36e77f0 100644
--- a/idp-attribute-filter-spring/pom.xml
+++ b/idp-attribute-filter-spring/pom.xml
@@ -127,7 +127,25 @@
             <scope>test</scope>
         </dependency>
 
-        <!-- Managed Dependencies -->
+	<!-- We need these even if mvn dependency:analyze says we don't - loaded by service interface -->
+	<dependency>
+            <groupId>org.graalvm.js</groupId>
+            <artifactId>js</artifactId>
+            <version>${graalvm.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+	    <groupId>org.graalvm.sdk</groupId>
+	    <artifactId>graal-sdk</artifactId>
+	    <version>${graalvm.version}</version>
+            <scope>test</scope>
+        </dependency>
+	<dependency>
+	    <groupId>org.mozilla</groupId>
+            <artifactId>rhino</artifactId>
+            <scope>test</scope>
+            <!--  version in parent pom -->
+        </dependency>
     </dependencies>
 
     <scm>
diff --git a/idp-attribute-resolver-impl/pom.xml b/idp-attribute-resolver-impl/pom.xml
index b8730345d..2573d0458 100644
--- a/idp-attribute-resolver-impl/pom.xml
+++ b/idp-attribute-resolver-impl/pom.xml
@@ -189,7 +189,26 @@
 			<type>test-jar</type>
 			<scope>test</scope>
 		</dependency>
-	</dependencies>
+	<!-- We need these even if mvn dependency:analyze says we don't - loaded by service interface -->
+	<dependency>
+            <groupId>org.graalvm.js</groupId>
+            <artifactId>js</artifactId>
+            <version>${graalvm.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+	    <groupId>org.graalvm.sdk</groupId>
+	    <artifactId>graal-sdk</artifactId>
+	    <version>${graalvm.version}</version>
+            <scope>test</scope>
+        </dependency>
+	<dependency>
+	    <groupId>org.mozilla</groupId>
+            <artifactId>rhino</artifactId>
+            <scope>test</scope>
+            <!--  version in parent pom -->
+        </dependency>
+    </dependencies>
 
     <scm>
         <connection>${shibboleth.scm.connection}java-identity-provider</connection>
diff --git a/idp-attribute-resolver-spring/pom.xml b/idp-attribute-resolver-spring/pom.xml
index 220a16611..cdad82499 100644
--- a/idp-attribute-resolver-spring/pom.xml
+++ b/idp-attribute-resolver-spring/pom.xml
@@ -191,6 +191,19 @@
             <scope>test</scope>
         </dependency>
 
+	<dependency>
+            <groupId>org.graalvm.js</groupId>
+            <artifactId>js</artifactId>
+            <version>${graalvm.version}</version>
+            <scope>test</scope>
+        </dependency>
+
+        <dependency>
+	    <groupId>org.graalvm.sdk</groupId>
+	    <artifactId>graal-sdk</artifactId>
+	    <version>${graalvm.version}</version>
+            <scope>test</scope>
+        </dependency>
         <!-- Managed Dependencies -->
     </dependencies>
 
diff --git a/idp-conf/pom.xml b/idp-conf/pom.xml
index 08e6573b9..cfd93e1d0 100644
--- a/idp-conf/pom.xml
+++ b/idp-conf/pom.xml
@@ -152,7 +152,18 @@
             <artifactId>janino</artifactId>
             <scope>test</scope>
         </dependency>
-
+	<dependency>
+            <groupId>org.graalvm.js</groupId>
+            <artifactId>js</artifactId>
+            <version>${graalvm.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+	    <groupId>org.graalvm.sdk</groupId>
+	    <artifactId>graal-sdk</artifactId>
+	    <version>${graalvm.version}</version>
+            <scope>test</scope>
+        </dependency>
         <!-- Managed Dependencies -->
     </dependencies>
 
diff --git a/idp-parent/pom.xml b/idp-parent/pom.xml
index 3caf6fd0b..89850e026 100644
--- a/idp-parent/pom.xml
+++ b/idp-parent/pom.xml
@@ -78,6 +78,7 @@
         <checkstyle.configLocation>${project.basedir}/../idp-parent/resources/checkstyle/checkstyle.xml</checkstyle.configLocation>
         <idp-parent.site.url>${shibboleth.site.url}java-identity-provider/${project.version}/</idp-parent.site.url>
         <idp-module.site.url>${idp-parent.site.url}${project.artifactId}</idp-module.site.url>
+	<graalvm.version>20.0.0</graalvm.version>
     </properties>
 
     <repositories>
diff --git a/idp-profile-api/pom.xml b/idp-profile-api/pom.xml
index 62604bea5..113a0fc92 100644
--- a/idp-profile-api/pom.xml
+++ b/idp-profile-api/pom.xml
@@ -82,6 +82,19 @@
         <!-- Runtime Dependencies -->
 
         <!-- Test Dependencies -->
+	<!-- We need these even if mvn dependency:analyze says we don't - loaded by service interface -->
+	<dependency>
+            <groupId>org.graalvm.js</groupId>
+            <artifactId>js</artifactId>
+            <version>${graalvm.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+	    <groupId>org.graalvm.sdk</groupId>
+	    <artifactId>graal-sdk</artifactId>
+	    <version>${graalvm.version}</version>
+            <scope>test</scope>
+        </dependency>
 
     </dependencies>
 
diff --git a/idp-profile-spring/pom.xml b/idp-profile-spring/pom.xml
index 71da5469d..9313c397b 100644
--- a/idp-profile-spring/pom.xml
+++ b/idp-profile-spring/pom.xml
@@ -174,6 +174,19 @@
             <scope>test</scope>
         </dependency>
 
+	<dependency>
+            <groupId>org.graalvm.js</groupId>
+            <artifactId>js</artifactId>
+            <version>${graalvm.version}</version>
+            <scope>test</scope>
+        </dependency>
+
+        <dependency>
+	    <groupId>org.graalvm.sdk</groupId>
+	    <artifactId>graal-sdk</artifactId>
+	    <version>${graalvm.version}</version>
+            <scope>test</scope>
+        </dependency>
         <!-- Managed Dependencies -->
     </dependencies>
 

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


More information about the commits mailing list