jira-importer opened a new issue, #441:
URL: https://github.com/apache/maven-parent/issues/441

   **[Robert 
Scholte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rfscholte)**
 opened 
**[MPOM-269](https://issues.apache.org/jira/browse/MPOM-269?redirect=false)** 
and commented
   
   The maven-plugin pom contains the following:
   
   ```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>
   ```
   
   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:
   
   ```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>
   ```
   
   
   
   ---
   
   **Affects:** MAVEN-34
   
   **Issue Links:**
   - [MPOM-250](https://issues.apache.org/jira/browse/MPOM-250) remove the 
JavaDoc taglets from maven-parent (both to extract Mojo javadoc annotations and 
link in javadoc)
    (_**"duplicates"**_)
   - [MPLUGIN-336](https://issues.apache.org/jira/browse/MPLUGIN-336) broken in 
JDK 10/JDK 11 - IllegalArgumentException
    (_**"is caused by"**_)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to