Skip to content

Conversation

fridrich
Copy link
Contributor

  • Filter out all of the module-info.java files in legacy mode
  • Do not use --source-path in legacy mode as not to suck any of those module-info.java files back
  • Generate the javadoc from list of files and not list of packages, which is not working if --source-path is not specified

@fridrich fridrich force-pushed the legacy-mode branch 4 times, most recently from 1fbcc99 to 799a029 Compare July 14, 2025 17:43
  * Filter out all of the module-info.java files in legacy mode
  * Do not use --source-path in legacy mode as not to suck any
    of those module-info.java files back
  * Generate the javadoc from list of files and not list of
    packages, which is not working if --source-path is not
    specified
@fridrich
Copy link
Contributor Author

Any comments on this one?

@olamy
Copy link
Member

olamy commented Jul 19, 2025

looks good but I need to test on large projects such Jetty mixing jpms and not jpms for aggregated javadoc.

@olamy olamy changed the title Make the legacyMode consistent and actually useful Make the legacyMode consistent (Filter out all of the module-info.java files in legacy mode, do not use --source-path in legacy mode) Jul 20, 2025
@olamy olamy added the bug Something isn't working label Jul 20, 2025
@olamy olamy merged commit 2299072 into apache:master Jul 20, 2025
100 checks passed
@github-actions github-actions bot added this to the 3.11.3 milestone Jul 20, 2025
JackPGreen added a commit to JackPGreen/maven-javadoc-plugin that referenced this pull request Aug 18, 2025
_Partially_ reverts change in apache#1217, specifically:
> Do not use --source-path in legacy mode as not to suck any of those module-info.java files back

This is required to ensure correct package resolution on projects that mix modular & non-module Java code.
akurtakov added a commit to akurtakov/eclipse.platform.releng.aggregator that referenced this pull request Aug 27, 2025
Due to apache/maven-javadoc-plugin#1217 legacy
mode is no longer compatible with how sourcepath is defined.
akurtakov added a commit to eclipse-platform/eclipse.platform.releng.aggregator that referenced this pull request Aug 27, 2025
Due to apache/maven-javadoc-plugin#1217 legacy
mode is no longer compatible with how sourcepath is defined.
akurtakov added a commit to eclipse-platform/eclipse.platform.releng.aggregator that referenced this pull request Sep 1, 2025
Due to apache/maven-javadoc-plugin#1217 legacy
mode is no longer compatible with how sourcepath is defined.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants