Did you try with useLegacyMode parameter?

On Fri, 30 May 2025 at 8:10 am, Tim Allison <talli...@apache.org> wrote:

> I think we're good now. When we fixed our dependencies so that we didn't
> have to include the `package` phase, the aggregation worked as expected.
>
> My guess is that when we include the package phase, then module info is
> included in the calculation and our project is not jpms compliant...yet.
>
>
> On 2025/05/29 13:59:24 Tim Allison wrote:
> > 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"
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to