[ 
https://issues.apache.org/jira/browse/MJAVADOC-753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henning Schmiedehausen reassigned MJAVADOC-753:
-----------------------------------------------

    Assignee: Henning Schmiedehausen

> javadoc plugin does not find sources in auto-module when creating docs
> ----------------------------------------------------------------------
>
>                 Key: MJAVADOC-753
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-753
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>          Components: javadoc
>    Affects Versions: 3.5.0
>            Reporter: Henning Schmiedehausen
>            Assignee: Henning Schmiedehausen
>            Priority: Blocker
>
> 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)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to