Need help: maven-javadoc-plugin: includeDependencySource: error: module not found on module source path
I'm struggling to get javadoc generation with includeDependencySource
working in my project.
When setting includeDependencySource to true in the pom and running mvn
clean install javadoc:aggregate or mvn clean install javadoc:javadoc
I get the following errors:
First: [ERROR] no reactor project: <group_id:artifact_id of the single
dependency of my project>
And a few lines later a BUILD FAILURE because the javadoc tool exited
with the following error:
Exit code: 1 -
error: module not found on module source path
But the source of the dependency seems to be fetched and unpacked
The line (10) where the error is is the module definition of the single
in that project.
The generated javdoc options file contains only one module-source-path:
/path/to/my/project/target/site/apidocs/src which contains a single
empty folder named like the module of my project (not the dependency).
Did anyone have a similar problem before? Any ideas what to try?