[ 
https://jira.codehaus.org/browse/MJAVADOC-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=276515#comment-276515
 ] 

Herve Boutemy commented on MJAVADOC-171:
----------------------------------------

Hmmm
{noformat}$ unzip ../mvnexec.zip && cd forked && mvn -v && mvn site
Archive:  ../mvnexec.zip
   creating: forked/
  inflating: forked/pom.xml          
   creating: forked/sub1/
   creating: forked/sub1/src/
   creating: forked/sub1/src/test/
   creating: forked/sub1/src/test/java/
  inflating: forked/sub1/src/test/java/Simple2Test.java  
  inflating: forked/sub1/pom.xml     
   creating: forked/sub2/
   creating: forked/sub2/src/
   creating: forked/sub2/src/test/
   creating: forked/sub2/src/test/java/
  inflating: forked/sub2/src/test/java/SimpleTest.java  
  inflating: forked/sub2/pom.xml     
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.5.0_22
Java home: /home/opt/jdk1.5.0_22/jre
Default locale: fr_FR, platform encoding: UTF-8
OS name: "linux" version: "2.6.38-10-generic" arch: "amd64" Family: "unix"
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Unnamed - org.test.forked:parent:pom:1
[INFO]   Unnamed - org.test.forked:sub1:jar:1
[INFO]   Unnamed - org.test.forked:sub2:jar:1
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - org.test.forked:parent:pom:1
[INFO]    task-segment: [site]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-surefire-report-plugin

Reason: Error getting POM for 
'org.apache.maven.plugins:maven-surefire-report-plugin' from the repository: 
Failed to resolve artifact, possibly due to a repository list that is not 
appropriately equipped for this artifact's metadata.
  org.apache.maven.plugins:maven-surefire-report-plugin:pom:2.8.2-SNAPSHOT

from the specified remote repositories:
  Nexus (http://localhost:8081/nexus/content/groups/public)

 for project org.apache.maven.plugins:maven-surefire-report-plugin


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Fri Aug 19 22:36:44 CEST 2011
[INFO] Final Memory: 15M/150M
[INFO] 
------------------------------------------------------------------------{noformat}

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

        

Reply via email to