Hi org.apache.maven.user,

> What's the simplest way to generate (aggregated) javadoc
> for this set of projects?

Is it enough that your javadocs cross-link with each other at their
respective published locations?

If so, you can add the links to the maven-javadoc-plugin configuration.
E.g.:

      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.8.1</version>
        <configuration>
          <links>
            <link>https://pivot.apache.org/2.0.1/docs/api/</link>
            <link>
http://help.eclipse.org/indigo/topic/org.eclipse.platform.doc.isv/reference/api/
</link>
          </links>
        </configuration>
      </plugin>

Replacing the links with your published javadoc locations, of course.

> I can't modify the pom files of the individual projects

I haven't tested it, but presumably you could create a new aggregator POM
that includes the individual projects as modules, and set the aggregator's
javadoc configuration as above. Then run "mvn site" and wait for the magic.

Regards,
Curtis


On Thu, Jul 12, 2012 at 10:28 AM, <[email protected]> wrote:

> Hello.
>
> I have a set of projects, with some interdependencies. I can't modify
> the pom files of the individual projects, and there aren't any real
> links between them other than some artifact dependencies.
>
> What's the simplest way to generate (aggregated) javadoc for this
> set of projects?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to