This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch v4
in repository https://gitbox.apache.org/repos/asf/causeway.git
The following commit(s) were added to refs/heads/v4 by this push:
new 81db5cb035a CAUSEWAY-3892: attempt on reinstating graphQL, does not
work yet
81db5cb035a is described below
commit 81db5cb035a572819c61d072cfe49fad2356f46b
Author: Andi Huber <[email protected]>
AuthorDate: Wed Jun 4 08:58:04 2025 +0200
CAUSEWAY-3892: attempt on reinstating graphQL, does not work yet
---
mavendeps/webapp/pom.xml | 6 +-----
viewers/graphql/applib/pom.xml | 14 --------------
viewers/graphql/pom.xml | 21 +++++++++++++++++++++
viewers/graphql/testsupport/pom.xml | 5 +++++
4 files changed, 27 insertions(+), 19 deletions(-)
diff --git a/mavendeps/webapp/pom.xml b/mavendeps/webapp/pom.xml
index 01bda7db432..d62e3186af4 100644
--- a/mavendeps/webapp/pom.xml
+++ b/mavendeps/webapp/pom.xml
@@ -48,10 +48,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
- <exclusion>
- <groupId>javax.validation</groupId>
- <artifactId>validation-api</artifactId>
- </exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-jcl</artifactId>
@@ -86,7 +82,7 @@
<artifactId>causeway-core-runtimeservices</artifactId>
</dependency>
-<!-- broken on current Spring Boot 4 Snapshot-->
+<!-- opinionated, whether to add or not-->
<!-- <dependency>-->
<!-- <groupId>org.apache.causeway.viewer</groupId>-->
<!--
<artifactId>causeway-viewer-graphql-viewer</artifactId>-->
diff --git a/viewers/graphql/applib/pom.xml b/viewers/graphql/applib/pom.xml
index 809d97a754f..7ee5f632b38 100644
--- a/viewers/graphql/applib/pom.xml
+++ b/viewers/graphql/applib/pom.xml
@@ -47,12 +47,6 @@
<dependency>
<groupId>org.springframework.graphql</groupId>
<artifactId>spring-graphql</artifactId>
- <exclusions>
- <exclusion>
- <groupId>com.graphql-java</groupId>
- <artifactId>graphql-java</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
@@ -60,14 +54,6 @@
<artifactId>spring-boot-autoconfigure</artifactId>
</dependency>
- <dependency>
- <!-- override spring, for security and bug-fixes -->
- <groupId>com.graphql-java</groupId>
- <artifactId>graphql-java</artifactId>
- </dependency>
-
-
-
<!-- TEST DEPENDENCIES -->
<dependency>
diff --git a/viewers/graphql/pom.xml b/viewers/graphql/pom.xml
index 3f5537403a6..017ba28123c 100644
--- a/viewers/graphql/pom.xml
+++ b/viewers/graphql/pom.xml
@@ -35,6 +35,27 @@
<name>Apache Causeway Viewer - GraphQL</name>
<packaging>pom</packaging>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.springframework.graphql</groupId>
+ <artifactId>spring-graphql-test</artifactId>
+ <version>2.0.0-SNAPSHOT</version> <!--version tag can be
removed once upstream correctly manages it-->
+ <exclusions>
+ <exclusion>
+ <groupId>org.springframework.graphql</groupId>
+ <artifactId>spring-graphql</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.graphql</groupId>
+ <artifactId>spring-graphql</artifactId>
+ <version>2.0.0-SNAPSHOT</version> <!--version tag can be
removed once upstream correctly manages it-->
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
<modules>
<module>applib</module>
diff --git a/viewers/graphql/testsupport/pom.xml
b/viewers/graphql/testsupport/pom.xml
index 9f28ed030da..07359a48417 100644
--- a/viewers/graphql/testsupport/pom.xml
+++ b/viewers/graphql/testsupport/pom.xml
@@ -136,6 +136,11 @@
<groupId>org.springframework.graphql</groupId>
<artifactId>spring-graphql-test</artifactId>
</dependency>
+ <!-- temporary to bring in SNAPSHOT variant -->
+ <dependency>
+ <groupId>org.springframework.graphql</groupId>
+ <artifactId>spring-graphql</artifactId>
+ </dependency>
<dependency>
<groupId>com.github.gavlyukovskiy</groupId>