[java-identity-provider] 04/04: JSPT-95 Selectively add graal into the test scope
Rod Widdowson
rdw at steadingsoftware.com
Wed May 13 12:39:38 UTC 2020
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch dev/JSPT-95
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=0ea370abbbc89c542d086e07ddbbd54f1e4dbc1a
commit 0ea370abbbc89c542d086e07ddbbd54f1e4dbc1a
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 2ad942990..47be1765f 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 25224ff5b..cb9e32376 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 9bfa18a3e..cd0e09ce6 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 daa0f614f..464c37c38 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 d492db3cd..d2de795fc 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 bf3f5ddaa..3025bde8b 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 0f7b26cb8..2a9006342 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 f2e58bd97..2c2dca347 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