You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by jh...@apache.org on 2025/09/14 08:45:58 UTC
(james-project) 02/02: [JAMES-4145] removes invalid dependency to data-jmap
This is an automated email from the ASF dual-hosted git repository.
jhelou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 567ecfbf5a78e63e5db8487763dbb5f7118253ac
Author: Jean Helou <je...@xn--gml-cma.com>
AuthorDate: Sat Sep 13 18:06:09 2025 +0200
[JAMES-4145] removes invalid dependency to data-jmap
james-server-guice-common should not depend on james-server-data-jmap.
instead I moved the dependency and the jmap specific binding module to james-server-guice-jmap
---
server/container/guice/common/pom.xml | 5 +----
server/container/guice/protocols/jmap/pom.xml | 4 ++++
.../java/org/apache/james/utils/FilteringManagementProbeImpl.java | 0
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/server/container/guice/common/pom.xml b/server/container/guice/common/pom.xml
index e8d301926f..d96a7d8ea4 100644
--- a/server/container/guice/common/pom.xml
+++ b/server/container/guice/common/pom.xml
@@ -40,10 +40,7 @@
<groupId>${james.groupId}</groupId>
<artifactId>james-server-data-api</artifactId>
</dependency>
- <dependency>
- <groupId>${james.groupId}</groupId>
- <artifactId>james-server-data-jmap</artifactId>
- </dependency>
+
<dependency>
<groupId>${james.groupId}</groupId>
<artifactId>james-server-data-memory</artifactId>
diff --git a/server/container/guice/protocols/jmap/pom.xml b/server/container/guice/protocols/jmap/pom.xml
index ace63a7dd4..c77af701bf 100644
--- a/server/container/guice/protocols/jmap/pom.xml
+++ b/server/container/guice/protocols/jmap/pom.xml
@@ -41,6 +41,10 @@
<artifactId>apache-mailet-test</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>${james.groupId}</groupId>
+ <artifactId>james-server-data-jmap</artifactId>
+ </dependency>
<dependency>
<groupId>${james.groupId}</groupId>
<artifactId>james-server-guice-common</artifactId>
diff --git a/server/container/guice/common/src/main/java/org/apache/james/utils/FilteringManagementProbeImpl.java b/server/container/guice/protocols/jmap/src/main/java/org/apache/james/utils/FilteringManagementProbeImpl.java
similarity index 100%
rename from server/container/guice/common/src/main/java/org/apache/james/utils/FilteringManagementProbeImpl.java
rename to server/container/guice/protocols/jmap/src/main/java/org/apache/james/utils/FilteringManagementProbeImpl.java
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org