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

Curtis Rueden updated MJAVADOC-794:
-----------------------------------
    Description: 
Due to a bug in the maven-javadoc-plugin, the following warning gets
emitted with the scijava-taglets artifact included in the javadoc build:

  [WARNING] Unable to auto-detect Taglet class names from
  '/path/to/jar.jar'. Try to specify them with <taglets/>.

Running with `mvn -X` shows the underlying cause:

  NoClassDefFoundError: module-info is not a
  class because access_flag ACC_MODULE is set

Removing scijava-taglets's module-info.java avoids the problem.

> Taglet autodetection fails when taglets JAR includes a module-info.class
> ------------------------------------------------------------------------
>
>                 Key: MJAVADOC-794
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-794
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>            Reporter: Curtis Rueden
>            Priority: Major
>
> Due to a bug in the maven-javadoc-plugin, the following warning gets
> emitted with the scijava-taglets artifact included in the javadoc build:
>   [WARNING] Unable to auto-detect Taglet class names from
>   '/path/to/jar.jar'. Try to specify them with <taglets/>.
> Running with `mvn -X` shows the underlying cause:
>   NoClassDefFoundError: module-info is not a
>   class because access_flag ACC_MODULE is set
> Removing scijava-taglets's module-info.java avoids the problem.



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

Reply via email to