[Javadoc Plugin] aggregate no longer works for Apache Tika when moving from Java 8->11

Tim Allison <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.user
Message-ID <CAC1dCwVPcWkujWf4uibx7z9YQM8d-7VG_8EJ02+PGeN239JwoA@mail.gmail.com>
On Tika, we're struggling with getting javadocs:aggregate to work when
moving to Java 11. See [0]

This tag specifically: https://github.com/apache/tika/tree/3.2.0-rc2
but the same applies to any branch/tag where maven.compiler.release is
> 8. Java and maven versions [1].

When we run `mvn clean package javadoc:aggregate` we get a successful
run, but the main project is skipped:

--- javadoc:3.11.2:aggregate (default-cli) @ tika ---
[INFO] Skipping
org.apache.maven.plugins:maven-javadoc-plugin:3.11.2:aggregate report
goal

We found at least on a subset of our project that if we remove the
automatic module names, then we get the expected behavior of
aggregated javadocs in {project.directory}/target/reports/apidocs.

I'm sure this is user error on my part. Any help would be appreciated.

Thank you!


[0] https://lists.apache.org/thread/n7mjkfcsdf4lvwjtp1l3c77fs0yb5q0h
[1] mvn -version ->
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: /xyz/apache-maven-3.9.9
Java version: 17.0.12, vendor: Eclipse Adoptium, runtime:
/usr/lib/jvm/temurin-17-jdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "6.11.0-25-generic", arch: "amd64", family: "unix"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.