Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
3.5.0
-
None
-
None
Description
clone this repo: https://github.com/hgschmie/javadoc-bug
run "mvn clean install"
expected outcome: builds a project, generates a javadoc jar
observed outcome:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.5.0:jar (basepom.default) on project javadoc-bug: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1
[ERROR] /Users/henning/oss/bugs/javadoc/src/main/java/maven/bugs/internal/InternalImportBindingBuilder.java:7: error: cannot access Provider
[ERROR] static final class InternalBindingProvider<T> implements Provider<T> {
[ERROR] ^
[ERROR] class file for javax.inject.Provider not found
[ERROR] 1 error
[ERROR] Command line was: /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/bin/javadoc -J-Xmx1024m @options @packages
Setting the release to "8" works (but loses the module information)
Attachments
Issue Links
- is fixed by
-
MJAVADOC-769 javadoc plugin can not deal with transitive filename based modules
- Closed