You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stefan Seidel (JIRA)" <ji...@codehaus.org> on 2011/08/22 08:27:33 UTC

[jira] Updated: (MJAVADOC-171) Modules in multi-module projects are "built" too often

     [ https://jira.codehaus.org/browse/MJAVADOC-171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seidel updated MJAVADOC-171:
-----------------------------------

    Attachment: mjavadoc-171.zip

This seems to be a problem with your local build environment. The maven-users mailing list is quite helpful in such cases. 

Anyway, here's a cleaner version, for convenience already with the plugin version via system property.

Run:
{code}
unzip mjavadoc-171.zip
mvn clean site -Djavadoc.plugin.version=2.8 | grep xmlbeans | grep execution | wc -l
{code}
(and replace the value for javadoc.plugin.version with the version to test).

Exact numbers may differ slightly, but the overall tendency is equivalent.

> Modules in multi-module projects are "built" too often
> ------------------------------------------------------
>
>                 Key: MJAVADOC-171
>                 URL: https://jira.codehaus.org/browse/MJAVADOC-171
>             Project: Maven 2.x Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>         Environment: Maven 2.0.8, Linux
>            Reporter: Stefan Seidel
>            Assignee: Herve Boutemy
>            Priority: Critical
>             Fix For: 2.8
>
>         Attachments: 2.2.log, 2.3.log, mjavadoc171.patch, mjavadoc-171.zip, mvnexec.zip
>
>
> In a multi-module project, all modules are "built" twice for each module. This leads to huge performance problems when many modules are in a project. In the attached sample project, the xmlbeans plugin is executed 27 times for a project with one parent module and two submodules. 18 of these executions can be attributed to the javadoc plugin. With version 2.2, only 3 invocations (once for each project) are caused by the javadoc plugin.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira