Uploaded image for project: 'Maven POMs (Moved to GitHub issues) '
  1. Maven POMs (Moved to GitHub issues)
  2. MPOM-269

Remove tagletArtifact from maven-javadoc-plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • MAVEN-34
    • None
    • maven-plugins
    • None

    Description

      The maven-plugin pom contains the following:

      <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>
      

      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:

          <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>
      

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              rfscholte Robert Scholte
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: