Skip to content

Stale detection does not work: Javadoc generation is skipped when it should not #1324

Description

@anthonyvdotbe

Affected version

3.12.0

Bug description

After changing the Javadoc in the Java source files and running mvn compile javadoc:javadoc again, Javadoc generation is skipped.

In maven-javadoc-plugin-stale-data.txt I see all the command-line arguments and then a bunch of lines like:

C:\path\to\target\reports\apidocs\allclasses-index.html = 1778834612169

I assume the right-hand side is a timestamp, but I'm surprised not to see a list of Java source files with timestamps? How can the plugin determine if something has changed if it only has the info in the maven-javadoc-plugin-stale-data.txt file?

Environment: Windows 11, JDK 26.0.1, Maven 3.9.15

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions