[jira] [Closed] (JAMES-4145) Invalid dependency james-server-postgres-common-guice -> james-server-guice-distributed
"Jean Helou (Jira)" <[email protected]>
| Newsgroups | gmane.comp.jakarta.james.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/JAMES-4145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean Helou closed JAMES-4145.
-----------------------------
> 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
> Priority: Major
> 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
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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)