[ https://issues.apache.org/jira/browse/MJAVADOC-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17958127#comment-17958127 ]
Olivier Lamy commented on MJAVADOC-745: --------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-javadoc-plugin#1127|https://github.com/apache/maven-javadoc-plugin/issues/1127]. Please visit the GitHub issue to view further activity, add comments, or subscribe to receive notifications. > Taglet auto-detection fails on complex dependency hierarchy > ----------------------------------------------------------- > > Key: MJAVADOC-745 > URL: https://issues.apache.org/jira/browse/MJAVADOC-745 > Project: Maven Javadoc Plugin (Moved to GitHub Issues) > Issue Type: Bug > Components: javadoc > Affects Versions: 3.4.1 > Reporter: Stefano Chizzolini > Priority: Major > > The current implementation of taglet auto-detection (initial feature request: > MJAVADOC-204) lacks proper evaluation of the dependency tree of configured > taglet artifacts (see > [<tagletArtifacts/>|https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#tagletArtifacts]): > _each artifact on the taglet classpath is scanned separately_ (see > [AbstractJavadocMojo.addTagletsFromTagletArtifacts(..)|https://github.com/apache/maven-javadoc-plugin/blob/a5db96e7e16cc432d8fdea05f460f6c3fa258ba9/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java#L5901] > and > [JavadocUtil.getTagletClassNames(..)|https://github.com/apache/maven-javadoc-plugin/blob/a5db96e7e16cc432d8fdea05f460f6c3fa258ba9/src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java#L721]), > _causing taglet class loading to fail in case its hierarchy is spread across > multiple artifacts_ (its class loader has visibility only on a single > artifact at a time, in the wrong assumption that no intermediate artifact > lies between the Taglet interface and its implementations). -- This message was sent by Atlassian Jira (v8.20.10#820010)