You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martin van der Plas <mv...@imc.nl> on 2005/12/01 12:36:07 UTC

[m2] javadoc plugin configuration

Hi,

Who can tell me in which part in pom.xml the javadoc plugin should be 
configured? It can be done in the plugins section of the pom or in the 
plugins section of the report section in the pom.

Thanks

-- 
Groeten,

    Martin

mailto:mvdp@imc.nl
tel: +31 (0) 20-7988464
mob: +31 (0) 6-21551921



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


Re: [m2] javadoc plugin configuration

Posted by Brett Porter <br...@gmail.com>.
I think we need to elaborate on that with regards to reports.

Generally, you should configure it in the reporting section.
Configuration there applies to both the site, and when run on the
command line, and adding the plugin there adds the report to the
generated site.

Configuration in the build section is only used during the normal
lifecycle or the command line invocation (eg javadoc:javadoc).
Configuration should go there if you do not want the report on the
site, or the configuration differs from what is on the site (eg, some
plugins have a fail build option).

Cheers,
Brett

On 12/2/05, Allan Ramirez <ar...@exist.com> wrote:
> Hi,
>
> Please refer to this page
> http://maven.apache.org/guides/mini/guide-configuring-plugins.html
>
> regards,
> -allan
>
> Martin van der Plas wrote:
>
> > Hi,
> >
> > Who can tell me in which part in pom.xml the javadoc plugin should be
> > configured? It can be done in the plugins section of the pom or in the
> > plugins section of the report section in the pom.
> >
> > Thanks
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: [m2] javadoc plugin configuration

Posted by Allan Ramirez <ar...@exist.com>.
Hi,

Please refer to this page 
http://maven.apache.org/guides/mini/guide-configuring-plugins.html

regards,
-allan

Martin van der Plas wrote:

> Hi,
>
> Who can tell me in which part in pom.xml the javadoc plugin should be 
> configured? It can be done in the plugins section of the pom or in the 
> plugins section of the report section in the pom.
>
> Thanks
>