Romain N created MECLIPSE-739:
---------------------------------

             Summary: Goal eclipse:eclipse very slow
                 Key: MECLIPSE-739
                 URL: https://jira.codehaus.org/browse/MECLIPSE-739
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
          Components: WTP support
    Affects Versions: 2.9
         Environment: Windows XP, Maven 3
            Reporter: Romain N
            Priority: Critical


In a multiple project, when I run the goal eclipse:eclipse, the plugin spends a 
lot of time to execute it (=~ 12min)

For each submodule, it blocs on this line:

{quote}[INFO] Adding support for WTP version 2.0.{quote}

And when I run the goal in debug mode (-X), I see it spends many time in 
dependencies hierarchie, for exemple:

{quote}
[DEBUG]     org.springframework:spring-context:jar:3.0.5.RELEASE:compile 
(selected for compile)
[DEBUG]       org.springframework:spring-aop:jar:3.0.5.RELEASE:compile 
(selected for compile)
[DEBUG]         aopalliance:aopalliance:jar:1.0:compile (selected for compile)
[DEBUG]         org.springframework:spring-asm:jar:3.0.5.RELEASE:compile 
(selected for compile)
[DEBUG]         org.springframework:spring-beans:jar:3.0.5.RELEASE:compile 
(selected for compile)
[DEBUG]           org.springframework:spring-core:jar:3.0.5.RELEASE:compile 
(selected for compile)
[DEBUG]         org.springframework:spring-core:jar:3.0.5.RELEASE:compile 
(selected for compile)
[DEBUG]       org.springframework:spring-beans:jar:3.0.5.RELEASE:compile 
(selected for compile)
[DEBUG]       org.springframework:spring-core:jar:3.0.5.RELEASE:compile 
(selected for compile)
[DEBUG]       org.springframework:spring-expression:jar:3.0.5.RELEASE:compile 
(selected for compile)
[DEBUG]       org.springframework:spring-asm:jar:3.0.5.RELEASE:compile 
(selected for compile)
[DEBUG]     fr.generali.pdo.fondation.fwk:pdo-framework-logs:jar:1.0.14:compile 
(selected for compile)
[DEBUG]       ch.qos.logback:logback-classic:jar:0.9.28:compile (selected for 
compile)
[DEBUG]         ch.qos.logback:logback-core:jar:0.9.28:compile (selected for 
compile)
{quote}

In this exemple, the plugin spends 30secondes on the last line.

My maven eclipse configuration is the next:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-eclipse-plugin</artifactId>
  <version>2.9</version>
  <configuration>
    <eclipseDownloadSources combine.self="override" />
    <downloadSources combine.self="override">true</downloadSources>
    <downloadJavadocs combine.self="override">true</downloadJavadocs>
    <forceRecheck combine.self="override">false</forceRecheck>
    <additionalBuildCommands combine.self="override" />
    <additionalProjectnatures combine.self="override" />
    <wtpversion combine.self="override">2.0</wtpversion>
    <workspace>e:\workspace</workspace> -->
    <classpathContainers combine.self="override">
    
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
</classpathContainers>
</configuration>




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to