From 80685d678d16f4fc1563151269f48f4748640dba Mon Sep 17 00:00:00 2001 From: HoussemNasri Date: Tue, 3 Dec 2024 15:21:48 +0100 Subject: [PATCH] Fix compilation errors --- .../jmap/json/EmailAddressContactMessageSerializerTest.scala | 2 +- tmail-backend/mailets/pom.xml | 4 ++++ .../main/scala/com/linagora/tmail/mailets/IndexContacts.java | 2 +- tmail-backend/tmail-third-party/openpaas/pom.xml | 4 ++++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/tmail-backend/jmap/extensions-rabbitmq/src/test/scala/com/linagora/tmail/james/jmap/json/EmailAddressContactMessageSerializerTest.scala b/tmail-backend/jmap/extensions-rabbitmq/src/test/scala/com/linagora/tmail/james/jmap/json/EmailAddressContactMessageSerializerTest.scala index 2c9bcbaf5b..793405bbd7 100644 --- a/tmail-backend/jmap/extensions-rabbitmq/src/test/scala/com/linagora/tmail/james/jmap/json/EmailAddressContactMessageSerializerTest.scala +++ b/tmail-backend/jmap/extensions-rabbitmq/src/test/scala/com/linagora/tmail/james/jmap/json/EmailAddressContactMessageSerializerTest.scala @@ -1,6 +1,6 @@ package com.linagora.tmail.james.jmap.json -import com.linagora.tmail.james.jmap.contact._ +import com.linagora.tmail.james.jmap.contact.{Addition, ContactOwner, EmailAddressContactMessage, MessageEntry, User} import org.apache.james.core.MailAddress import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test diff --git a/tmail-backend/mailets/pom.xml b/tmail-backend/mailets/pom.xml index 5231a49553..051ccaa8a7 100644 --- a/tmail-backend/mailets/pom.xml +++ b/tmail-backend/mailets/pom.xml @@ -19,6 +19,10 @@ jmap-extensions-api 1.0.0-SNAPSHOT + + com.sparkjava + spark-core + ${project.groupId} team-mailboxes diff --git a/tmail-backend/mailets/src/main/scala/com/linagora/tmail/mailets/IndexContacts.java b/tmail-backend/mailets/src/main/scala/com/linagora/tmail/mailets/IndexContacts.java index 114358f584..b20131615d 100644 --- a/tmail-backend/mailets/src/main/scala/com/linagora/tmail/mailets/IndexContacts.java +++ b/tmail-backend/mailets/src/main/scala/com/linagora/tmail/mailets/IndexContacts.java @@ -27,8 +27,8 @@ import com.github.fge.lambdas.Throwing; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; -import com.linagora.tmail.james.jmap.contact.ContactFields; import com.linagora.tmail.james.jmap.EmailAddressContactInjectKeys; +import com.linagora.tmail.james.jmap.contact.ContactFields; import com.linagora.tmail.james.jmap.contact.TmailContactUserAddedEvent; import reactor.core.publisher.Flux; diff --git a/tmail-backend/tmail-third-party/openpaas/pom.xml b/tmail-backend/tmail-third-party/openpaas/pom.xml index 2d8f2d7048..eca5f81170 100644 --- a/tmail-backend/tmail-third-party/openpaas/pom.xml +++ b/tmail-backend/tmail-third-party/openpaas/pom.xml @@ -20,6 +20,10 @@ jmap-extensions-api 1.0.0-SNAPSHOT + + com.sparkjava + spark-core + ${james.groupId} apache-james-backends-rabbitmq