Skip to content

JavadocLinkGenerator does not yet support internalJavadocBaseUrls with module specific paths #1040

@kwin

Description

@kwin

New feature, improvement proposal

For externalJavadocBaseUrls both the module specific (e.g. https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html) and the module agnostic path formats (e.g. https://docs.oracle.com/javase/8/docs/api/java/lang/String.html) are supported (being derived automatically from resources provided below the given baseUrls like element-list and module-summary.html).
However for internalJavadocBaseUrls this detection cannot be used as at the time of the descriptor generation the javadoc does not exist yet.

As a simple boolean flag is not enough since the plugin descriptor generation needs to figure out which package is contained in which module this requires some more logic (potentially leveraging the classpath and some reflection to check which module provides which package).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions