You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/11/28 20:34:00 UTC

[jira] [Commented] (MPOM-269) Remove tagletArtifact from maven-javadoc-plugin

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

Michael Osipov commented on MPOM-269:
-------------------------------------

Just have been hit by this in MPDF :-(

> Remove tagletArtifact from maven-javadoc-plugin
> -----------------------------------------------
>
>                 Key: MPOM-269
>                 URL: https://issues.apache.org/jira/browse/MPOM-269
>             Project: Maven POMs
>          Issue Type: Bug
>          Components: maven-plugins
>    Affects Versions: MAVEN-34
>            Reporter: Robert Scholte
>            Priority: Major
>
> The maven-plugin pom contains the following:
> {code:xml}
> <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-javadoc-plugin</artifactId>
>           <configuration>
>             <tagletArtifacts>
>               <tagletArtifact combine.id="org.apache.maven.plugin-tools:maven-plugin-tools-javadoc">
>                 <groupId>org.apache.maven.plugin-tools</groupId>
>                 <artifactId>maven-plugin-tools-javadoc</artifactId>
>                 <version>${mavenPluginToolsVersion}</version>
>               </tagletArtifact>
>             </tagletArtifacts>
>           </configuration>
>         </plugin>
> {code}
> However, as of 3.6 maven-plugin-tools-javadoc has been dropped because we prefer plugin annotations AND with Java 10 the Taglets API was moved to a different package.
> This blocks javadoc generation when mavenPluginToolsVersion is 3.6.0+
> Workaround in plugin project:
> {code:xml}
>     <pluginManagement>
>       <plugins>
>         <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-javadoc-plugin</artifactId>
>           <version>3.3.1</version>
>           <configuration> <!--  remove after MPOM-269 -->
>             <tagletArtifacts combine.self="override"/>
>           </configuration>
>         </plugin>
>     </pluginManagement>
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)