jira-importer commented on issue #957:
URL: 
https://github.com/apache/maven-javadoc-plugin/issues/957#issuecomment-2957364806

   **[Todd 
Thiessen](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=toddt)** 
commented
   
   You can jar the aggregated javadocs yourself.  In your parent POM, declare 
the following descriptor file:
   
   \<assembly>
   \<id>aggregated-javadoc\</id>
   \<formats>
   \<format>jar\</format>
   \</formats>
   \<includeBaseDirectory>false\</includeBaseDirectory>
   \<moduleSets>
   \<moduleSet>
   \<includeSubModules>false\</includeSubModules>
   \</moduleSet>
   \</moduleSets>
   \<fileSets>
   \<fileSet>
   \<directory>target/site/apidocs\</directory>
   \</fileSet>
   \</fileSets>
   \</assembly>
   
   I saved this in src/assemble/assembleAggregatedJavadoc.xml
   
   Then add the assembly plugin to your POM with this configuration:
   
       <plugin>
         <inherited>false</inherited>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
         <version>2.2-beta-3</version>
         <executions>
           <execution>
             <id>jar-aggregated-javadoc</id>
             <phase>package</phase>
             <configuration>
               <descriptors>
                 
<descriptor>src/assemble/assembleAggregatedJavadoc.xml</descriptor>
               </descriptors>
             </configuration>
             <goals>
               <goal>single</goal>
             </goals>
           </execution>
         </executions>
       </plugin>
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to