[ 
https://issues.apache.org/jira/browse/MJAVADOC-624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17958002#comment-17958002
 ] 

Olivier Lamy commented on MJAVADOC-624:
---------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-javadoc-plugin#915|https://github.com/apache/maven-javadoc-plugin/issues/915].
 Please visit the GitHub issue to view further activity, add comments, or 
subscribe to receive notifications.

> tagletArtifacts throws exception in case artifact is a Java 9+ module
> ---------------------------------------------------------------------
>
>                 Key: MJAVADOC-624
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-624
>             Project: Maven Javadoc Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>    Affects Versions: 3.1.1
>            Reporter: Martin Schelldorfer
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Auto-detect the class names for taglet artifacts fails in case artifact is a 
> Java 9+ module.
>  
> When using configuration parameter tagletArtifacts, taglet classes are 
> auto-detected.
> JavadocUtil.getTagletClassNames() is scanning all classes in jar file 
> (artifact).
> Java 9+ modules contain the class module-info.class in jar file.
> When trying to load module-info.class, the exception 
> "java.lang.NoClassDefFoundError: module-info is not a class because 
> access_flag ACC_MODULE is set" is thrown.
>  
> Class module-info has to be skipped in scanning loop.



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

Reply via email to