You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Peter Janes (JIRA)" <ji...@codehaus.org> on 2009/12/14 18:01:55 UTC

[jira] Commented: (MJAVADOC-265) Generate a combined javadoc using all dependency source jars.

    [ http://jira.codehaus.org/browse/MJAVADOC-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=202554#action_202554 ] 

Peter Janes commented on MJAVADOC-265:
--------------------------------------

I've been using maven-dependency-plugin and maven-javadoc-plugin to basically replicate the steps you describe:
{noformat}
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-dependency-plugin</artifactId>
  <executions>
    <execution>
      <id>get-javadoc-sources</id>
      <goals>
        <goal>unpack-dependencies</goal>
      </goals>
      <configuration>
        <classifier>sources</classifier>
        <outputDirectory>${project.build.directory}/sources</outputDirectory>
      </configuration>
    </execution>
  </executions>
</plugin>
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-javadoc-plugin</artifactId>
  <executions>
    <execution>
      <id>create-javadocs</id>
      <phase>prepare-package</phase>
      <goals>
        <goal>javadoc</goal>
      </goals>
      <configuration>
        <sourcepath>${project.build.directory}/sources</sourcepath>
      </configuration>
    </execution>
  </executions>
</plugin>
{noformat}

> Generate a combined javadoc using all dependency source jars.
> -------------------------------------------------------------
>
>                 Key: MJAVADOC-265
>                 URL: http://jira.codehaus.org/browse/MJAVADOC-265
>             Project: Maven 2.x Javadoc Plugin
>          Issue Type: New Feature
>            Reporter: Paul Gier
>
> I would like to be able to create a javadoc API that combines not only the sources from my project modules, but also downloads available dependency source files and includes these when generating the javadocs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira