You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Martin Schelldorfer (Jira)" <ji...@apache.org> on 2019/10/17 07:00:07 UTC

[jira] [Commented] (MJAVADOC-624) tagletArtifacts throws exception in case artifact is a Java 9+ module

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

Martin Schelldorfer commented on MJAVADOC-624:
----------------------------------------------

pull request #31 created [https://github.com/apache/maven-javadoc-plugin/pull/31]

> 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
>          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.3.4#803005)