You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jochen Wiedmann <jo...@gmail.com> on 2007/09/05 21:09:03 UTC

Build javadoc of dependencies?

Hi,

I have a project which is structured like this:

      +----- parent
      |
      +----- core
      |
      +----- webapp

(In practice, it's a little bit more complex, but the picture is
sufficient to show the use case.)

When running the javadoc plugin, I get the javadocs of the separate
projects. I would like to have the javadocs of all projects aggregated
into the webapp project. The plugins "aggregate" property doesn't help
me, because its designed for parent projects.

Any suggestions? Is my setup so unusual?

Thanks,

Jochen


-- 
Look, that's why there's rules, understand? So that you think before
you break 'em.

    -- (Terry Pratchett, Thief of Time)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Build javadoc of dependencies?

Posted by Insitu <ab...@oqube.com>.
Hello,
This is most probably not possible with the javadoc plugin alone, but
this effect could possibly be achieved using javadoc:jar goal and
maven-dependency-plugin's unpack goal. This is untested however :)

HTH

-- 
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Build javadoc of dependencies?

Posted by Jochen Wiedmann <jo...@gmail.com>.
On 9/6/07, Heinrich Nirschl <he...@gmail.com> wrote:

> You could set up a fourth project with packaging pom that serves as
> parent for the other three (i.e. the other tree projects are modules
> of the new project). The Javadoc plugin's aggregate function should
> work then.

Right, but I couldn't add it to the webapp.

Jochen

-- 
Look, that's why there's rules, understand? So that you think before
you break 'em.

    -- (Terry Pratchett, Thief of Time)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Build javadoc of dependencies?

Posted by Heinrich Nirschl <he...@gmail.com>.
On 9/5/07, Jochen Wiedmann <jo...@gmail.com> wrote:
> Hi,
>
> I have a project which is structured like this:
>
>       +----- parent
>       |
>       +----- core
>       |
>       +----- webapp
>
> (In practice, it's a little bit more complex, but the picture is
> sufficient to show the use case.)
>
> When running the javadoc plugin, I get the javadocs of the separate
> projects. I would like to have the javadocs of all projects aggregated
> into the webapp project. The plugins "aggregate" property doesn't help
> me, because its designed for parent projects.
>
You could set up a fourth project with packaging pom that serves as
parent for the other three (i.e. the other tree projects are modules
of the new project). The Javadoc plugin's aggregate function should
work then.

- Henry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org