Skip to content

Commit f21f149

Browse files
committed
Fix deployment tests
- Long story short: It was caused by an incompatibility between javax and jakarta APIs; dependency method returns javax.x while dependant needs jakarta.x.
1 parent f9b989b commit f21f149

File tree

3 files changed

+2
-19
lines changed

3 files changed

+2
-19
lines changed

tmail-backend/apps/distributed/pom.xml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,7 @@
164164
<artifactId>apache-james-backends-opensearch</artifactId>
165165
<type>test-jar</type>
166166
<scope>test</scope>
167-
<exclusions>
168-
<exclusion>
169-
<groupId>org.apache.httpcomponents.core5</groupId>
170-
<artifactId>httpcore5</artifactId>
171-
</exclusion>
172-
</exclusions>
167+
173168
</dependency>
174169
<dependency>
175170
<groupId>${james.groupId}</groupId>
@@ -406,12 +401,6 @@
406401
<artifactId>mockserver-netty</artifactId>
407402
<scope>test</scope>
408403
</dependency>
409-
<!--TODO: Remove once we upgrade spark-java-->
410-
<dependency>
411-
<groupId>org.eclipse.jetty</groupId>
412-
<artifactId>jetty-server</artifactId>
413-
<version>11.0.24</version>
414-
</dependency>
415404
</dependencies>
416405

417406
<build>

tmail-backend/apps/memory/pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,6 @@
193193
<groupId>com.linagora.tmail</groupId>
194194
<artifactId>logback-json-classic</artifactId>
195195
</dependency>
196-
<!--TODO: Remove once we upgrade spark-java-->
197-
<dependency>
198-
<groupId>org.eclipse.jetty</groupId>
199-
<artifactId>jetty-server</artifactId>
200-
<version>11.0.24</version>
201-
</dependency>
202196
</dependencies>
203197

204198
<build>

tmail-backend/tmail-third-party/openpaas/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
</dependency>
102102
<dependency>
103103
<groupId>org.wiremock</groupId>
104-
<artifactId>wiremock</artifactId>
104+
<artifactId>wiremock-standalone</artifactId>
105105
<version>3.10.0</version>
106106
</dependency>
107107
</dependencies>

0 commit comments

Comments
 (0)