[
https://issues.apache.org/jira/browse/MPOM-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte updated MPOM-269:
--------------------------------
Description:
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}
was:
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 11 (?) 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}
> 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.3.4#803005)