You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Bugittaa Pahasti (JIRA)" <ji...@codehaus.org> on 2009/10/19 11:22:26 UTC

[jira] Commented: (SUREFIRE-562) Exorbitant long site-build since surefire 2.4

    [ http://jira.codehaus.org/browse/SUREFIRE-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195216#action_195216 ] 

Bugittaa Pahasti commented on SUREFIRE-562:
-------------------------------------------

This renders site generation practically unusable. Is there any workarounds?

> Exorbitant long site-build since surefire 2.4
> ---------------------------------------------
>
>                 Key: SUREFIRE-562
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-562
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: report plugin
>    Affects Versions: 2.4, 2.4.1, 2.4.2, 2.4.3
>            Reporter: Jörg Hohwiller
>
> When I have maven-surefire-report-plugin and maven-surefire-plugin in version 2.3, 
> my site-generation works quite okay.
> However when I update to 2.4, 2.4.1, 2.4.2 or 2.4.3 the site-build takes an exorbitant long time.
> When you watch the log, you get the impression that there is an infinity-loop because it
> builds the same modules again and again. However it is not an infinity loop but I think that for every
> module also all dependent modules are build (and therefore tested) recursively even if they had 
> already been build before.
> This way 2.4 scales from O(n) to O(n^2) where n is the number of modules when you have
> common inter-project dependencies.
> Maybe some feature in 2.4 like improve coverage measure with cobertura or whatever
> introduced this bug.
> Infos about mvn site:stage with surefire 2.3:
> Total time: 18 minutes 19 seconds
> Size of logfile (mvn output): 3.567.441 bytes
> grep "Building util-core" site.log | wc -l: 44
> Infos about mvn site:stage with surefire 2.4.3:
> Total time: 70 minutes 29 seconds
> Size of logfile (mvn output): 58.442.755 bytes
> grep "Building util-core" site.log | wc -l: 130
> FYI: util-core is the name of a module that all other modules depend on directly or transitive.
> Besides in the 2.3 build only 1 of the 44 lines with "[INFO] Building util-core" is followed with
> [INFO]    task-segment: [site:stage]
> All other 43 are followed by some --- and then
> [INFO] No goals needed for project - skipping
> The extra lines in the 2.4 build are followed with some ---- and then
> [INFO] [resources:resources]
> ...
> Please also note that the maven logfile is totaly unreadable since you have no clue where a recursive invocation starts and ends. This is more an MNG issue, however...

-- 
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