Jean Helou created JAMES-4145:
---------------------------------
Summary: Invalid dependency james-server-postgres-common-guice ->
james-server-guice-distributed
Key: JAMES-4145
URL: https://issues.apache.org/jira/browse/JAMES-4145
Project: James Server
Issue Type: Task
Reporter: Jean Helou
Attachments: 2025-09-13_10-00.png, image-2025-09-13-09-59-40-571.png,
image-2025-09-13-10-00-11-759.png
While investigating the build cache for tests I ran
`mvn -e clean test -P ci-test -Dassembly.skipAssembly=true
jacoco:report-aggregate@jacoco-report -pl :scaling-pulsar-smtp -am`
I was surprised to see cadssandra and opensearch related tests run since
`scaling-pulsar-smtp` uses neither. and the build failed because of the
opensearch test
using the dependency analyser surfaced this dependency tree:
!2025-09-13_10-00.png!
which doesn't seem legit : pulling postgres-guice modules should not imply
pulling cassandra, rabbit mq etc
I have not yet found why it ran opensearch but this suggests it is linked to a
quota search plugin
``
[INFO] Apache James :: Mailbox :: Opensearch .............. FAILURE [08:47 min]
[INFO] Apache James :: Mailbox :: Plugin :: Quota Mailing . SKIPPED
[INFO] Apache James :: Mailbox :: Plugin :: Quota Search :: API SKIPPED
[INFO] Apache James :: Mailbox :: Plugin :: Quota Search :: Opensearch SKIPPED
[INFO] Apache James :: Mailbox :: Plugin :: Quota Search :: Scanning SKIPPED
[INFO] Apache James :: Mailbox :: Plugin :: Quota Mailing :: Cassandra SKIPPED
```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]