Hello Jean, Confession here, I do actually remove all modules for parent POM prior to generate the site. That's the only way I found to make it work.
I can propose a cleaner way: move maven site to a submodule itself, and update site build instructions accordingly. If useful I can commit to propose a PR... -- Best regards, Benoit TELLIER General manager of Linagora VIETNAM. Product owner for Twake-Mail product. Chairman of the Apache James project. Mail: [email protected] Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) Le févr. 24, 2026 7:44 AM, de Jean Helou <[email protected]>hello, I'm working on the documentation but I can't build the maven site ( yeah I know we want to move away but still we haven't yet) The docker image is broken (jdk 11 and the url it tries to download maven from no longer exists) using a recent maven (3.9.11) I get a load of cannot find symbol ( despite the build itself working just fine ) I'm not familiar with maven site, I'll try and dig but if anyone can fast track me I would be grateful :D or at least try to reproduce and tell me if it works for them or not [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.21.0:site (default-site) on project james-project: Failed to render site: Error generating maven-javadoc-plugin:3.11.2:aggregate report: UndeclaredThrowableException: InvocationTargetException: [ERROR] Exit code: 1 [ERROR] /home/jean/dev/secretjames/master/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp/SmtpTestExtension.java:24: error: cannot find symbol [ERROR] import org.apache.james.JamesServerExtension; [ERROR] ^ [ERROR] symbol: class JamesServerExtension [ERROR] location: package org.apache.james [ERROR] /home/jean/dev/secretjames/master/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp/SmtpTestExtension.java:25: error: cannot find symbol [ERROR] import org.apache.james.RegistrableExtension; [ERROR] ^ [ERROR] symbol: class RegistrableExtension [ERROR] location: package org.apache.james [ERROR] /home/jean/dev/secretjames/master/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp/SmtpTestExtension.java:42: error: cannot find symbol [ERROR] public class SmtpTestExtension implements RegistrableExtension { [ERROR] ^ [ERROR] symbol: class RegistrableExtension [ERROR] /home/jean/dev/secretjames/master/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp/SmtpTestExtension.java:45: error: cannot find symbol [ERROR] private final JamesServerExtension testExtension; [ERROR] ^ [ERROR] symbol: class JamesServerExtension [ERROR] location: class SmtpTestExtension [ERROR] /home/jean/dev/secretjames/master/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp/SmtpTestExtension.java:48: error: cannot find symbol [ERROR] public SmtpTestExtension(SmtpGuiceProbe.SmtpServerConnectedType smtpServerConnectedType, JamesServerExtension testExtension) { [ERROR] ^ [ERROR] symbol: class JamesServerExtension [ERROR] location: class SmtpTestExtension [ERROR] /home/jean/dev/secretjames/master/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp/InMemoryDnsExtension.java:24: error: cannot find symbol [ERROR] import org.apache.james.GuiceModuleTestExtension; [ERROR] ^ [ERROR] symbol: class GuiceModuleTestExtension [ERROR] location: package org.apache.james [ERROR] /home/jean/dev/secretjames/master/mpt/impl/smtp/core/src/main/java/org/apache/james/mpt/smtp/InMemoryDnsExtension.java:33: error: cannot find symbol [ERROR] public class InMemoryDnsExtension implements GuiceModuleTestExtension { [ERROR] ^ [ERROR] symbol: class GuiceModuleTestExtension [ERROR] /home/jean/dev/secretjames/master/server/mailet/integration-testing/src/main/java/org/apache/james/mailets/TemporaryJamesServer.java:43: error: cannot find symbol [ERROR] import org.apache.james.modules.TestJMAPServerModule; [ERROR] ^ [ERROR] symbol: class TestJMAPServerModule [ERROR] location: package org.apache.james.modules [ERROR] /home/jean/dev/secretjames/master/server/protocols/webadmin-integration-test/webadmin-integration-test-common/src/main/java/org/apache/james/webadmin/integration/ForwardIntegrationTest.java:54: error: cann ot find symbol [ERROR] import org.apache.james.webadmin.WebAdminUtils; [ERROR] ^ [ERROR] symbol: class WebAdminUtils [ERROR] location: package org.apache.james.webadmin [ERROR] /home/jean/dev/secretjames/master/server/protocols/webadmin-integration-test/webadmin-integration-test-common/src/main/java/org/apache/james/webadmin/integration/UnauthorizedEndpointsTest.java:26: error: c annot find symbol [ERROR] import org.apache.james.webadmin.WebAdminUtils; [ERROR] ^ [ERROR] symbol: class WebAdminUtils [ERROR] location: package org.apache.james.webadmin [ERROR] /home/jean/dev/secretjames/master/server/protocols/webadmin-integration-test/webadmin-integration-test-common/src/main/java/org/apache/james/webadmin/integration/JwtFilterIntegrationTest.java:32: error: ca nnot find symbol [ERROR] import org.apache.james.webadmin.WebAdminUtils; [ERROR] ^ [ERROR] symbol: class WebAdminUtils [ERROR] location: package org.apache.james.webadmin [ERROR] /home/jean/dev/secretjames/master/server/protocols/webadmin-integration-test/webadmin-integration-test-common/src/main/java/org/apache/james/webadmin/integration/QuotaSearchIntegrationTest.java:46: error: cannot find symbol [ERROR] import org.apache.james.webadmin.WebAdminUtils; [ERROR] ^ [ERROR] symbol: class WebAdminUtils [ERROR] location: package org.apache.james.webadmin [ERROR] /home/jean/dev/secretjames/master/server/protocols/webadmin-integration-test/webadmin-integration-test-common/src/main/java/org/apache/james/webadmin/integration/AuthorizedEndpointsTest.java:27: error: can not find symbol [ERROR] import org.apache.james.webadmin.WebAdminUtils; [ERROR] ^ [ERROR] symbol: class WebAdminUtils [ERROR] location: package org.apache.james.webadmin [ERROR] /home/jean/dev/secretjames/master/server/protocols/webadmin-integration-test/webadmin-integration-test-common/src/main/java/org/apache/james/webadmin/integration/WebAdminServerIntegrationTest.java:44: erro r: cannot find symbol [ERROR] import org.apache.james.webadmin.WebAdminUtils; [ERROR] ^ [ERROR] symbol: class WebAdminUtils [ERROR] location: package org.apache.james.webadmin [ERROR] /home/jean/dev/secretjames/master/server/protocols/webadmin-integration-test/webadmin-integration-test-common/src/main/java/org/apache/james/webadmin/integration/FastViewProjectionHealthCheckIntegrationCon tract.java:51: error: cannot find symbol [ERROR] import org.apache.james.webadmin.WebAdminUtils; [ERROR] ^ [ERROR] symbol: class WebAdminUtils [ERROR] location: package org.apache.james.webadmin [ERROR] /home/jean/dev/secretjames/master/server/protocols/webadmin-integration-test/webadmin-integration-test-common/src/main/java/org/apache/james/webadmin/integration/WebAdminServerIntegrationImmutableTest.java :33: error: cannot find symbol [ERROR] import org.apache.james.webadmin.WebAdminUtils; [ERROR] ^ [ERROR] symbol: class WebAdminUtils [ERROR] location: package org.apache.james.webadmin [ERROR] /home/jean/dev/secretjames/master/server/protocols/webadmin-integration-test/webadmin-integration-test-common/src/main/java/org/apache/james/webadmin/integration/vault/DeletedMessageVaultIntegrationTest.ja va:39: error: package org.apache.james.mailbox.backup.ZipAssert does not exist [ERROR] import static org.apache.james.mailbox.backup.ZipAssert.EntryChecks.hasName; [ERROR] ^ [ERROR] /home/jean/dev/secretjames/master/server/protocols/webadmin-integration-test/webadmin-integration-test-common/src/main/java/org/apache/james/webadmin/integration/vault/DeletedMessageVaultIntegrationTest.ja va:39: error: static import only from classes and interfaces [ERROR] import static org.apache.james.mailbox.backup.ZipAssert.EntryChecks.hasName; [ERROR] ^ [ERROR] /home/jean/dev/secretjames/master/server/protocols/webadmin-integration-test/webadmin-integration-test-common/src/main/java/org/apache/james/webadmin/integration/vault/DeletedMessageVaultIntegrationTest.ja va:40: error: cannot find symbol [ERROR] import static org.apache.james.mailbox.backup.ZipAssert.assertThatZip; [ERROR] ^ [ERROR] symbol: class ZipAssert [ERROR] location: package org.apache.james.mailbox.backup [ERROR] /home/jean/dev/secretjames/master/server/protocols/webadmin-integration-test/webadmin-integration-test-common/src/main/java/org/apache/james/webadmin/integration/vault/DeletedMessageVaultIntegrationTest.ja va:40: error: static import only from classes and interfaces [ERROR] import static org.apache.james.mailbox.backup.ZipAssert.assertThatZip; [ERROR] ^ [ERROR] /home/jean/dev/secretjames/master/server/protocols/webadmin-integration-test/webadmin-integration-test-common/src/main/java/org/apache/james/webadmin/integration/vault/DeletedMessageVaultIntegrationTest.ja va:58: error: cannot find symbol [ERROR] import org.apache.james.GuiceModuleTestExtension; [ERROR] ^ [ERROR] symbol: class GuiceModuleTestExtension [ERROR] location: package org.apache.james [ERROR] /home/jean/dev/secretjames/master/server/protocols/webadmin-integration-test/webadmin-integration-test-common/src/main/java/org/apache/james/webadmin/integration/vault/DeletedMessageVaultIntegrationTest.ja va:63: error: cannot find symbol [ERROR] import org.apache.james.mailbox.backup.ZipAssert; [ERROR] ^ [ERROR] symbol: class ZipAssert [ERROR] location: package org.apache.james.mailbox.backup [ERROR] /home/jean/dev/secretjames/master/server/protocols/webadmin-integration-test/webadmin-integration-test-common/src/main/java/org/apache/james/webadmin/integration/vault/DeletedMessageVaultIntegrationTest.ja va:74: error: cannot find symbol [ERROR] import org.apache.james.webadmin.WebAdminUtils; [ERROR] ^ [ERROR] symbol: class WebAdminUtils [ERROR] location: package org.apache.james.webadmin [ERROR] /home/jean/dev/secretjames/master/server/protocols/webadmin-integration-test/webadmin-integration-test-common/src/main/java/org/apache/james/webadmin/integration/vault/DeletedMessageVaultIntegrationTest.ja va:95: error: cannot find symbol [ERROR] public static class ClockExtension implements GuiceModuleTestExtension { [ERROR] ^ [ERROR] symbol: class GuiceModuleTestExtension [ERROR] location: class DeletedMessageVaultIntegrationTest [ERROR] 24 errors [ERROR] Command line was: /nix/store/5h9xda9vljp9hb19n2bi804d74g0jja1-temurin-bin-21.0.8/bin/javadoc -J-Xmx1024m -J-Xms256m -J-Duser.language= -J-Duser.country= @options @packages
