maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Decat (JIRA)" <j...@codehaus.org>
Subject [jira] (MECLIPSE-739) Goal eclipse:eclipse very slow
Date Thu, 28 Feb 2013 19:24:52 GMT

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

Patrick Decat edited comment on MECLIPSE-739 at 2/28/13 1:24 PM:
-----------------------------------------------------------------

Just like [MNG-5367 (which rather is a maven-dependency-plugin issue)|http://jira.codehaus.org/browse/MNG-5367],
there's a deep recursion into "import" dependencies:
{noformat}
"main" prio=10 tid=0x00007fb7c4008000 nid=0x66fe runnable [0x00007fb7cac7f000]
   java.lang.Thread.State: RUNNABLE
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:120)
	at org.apache.maven.model.building.FileModelSource.getInputStream(FileModelSource.java:55)
	at org.apache.maven.model.building.DefaultModelBuilder.readModel(DefaultModelBuilder.java:456)
	at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:857)
	at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:664)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:310)
	at org.apache.maven.model.building.DefaultModelBuilder.importDependencyManagement(DefaultModelBuilder.java:985)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:400)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:371)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:362)
	at org.apache.maven.model.building.DefaultModelBuilder.importDependencyManagement(DefaultModelBuilder.java:985)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:400)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:371)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:362)
	at org.apache.maven.model.building.DefaultModelBuilder.importDependencyManagement(DefaultModelBuilder.java:985)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:400)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:371)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:362)
	at org.apache.maven.model.building.DefaultModelBuilder.importDependencyManagement(DefaultModelBuilder.java:985)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:400)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:371)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:362)
	at org.apache.maven.model.building.DefaultModelBuilder.importDependencyManagement(DefaultModelBuilder.java:985)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:400)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:371)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:362)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232)
	at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:142)
	at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:309)
	at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:267)
	at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:579)
	at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:192)
	at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.recurse(DefaultLegacyArtifactCollector.java:532)
	at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.recurse(DefaultLegacyArtifactCollector.java:584)
	at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.collect(DefaultLegacyArtifactCollector.java:144)
	at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.collect(DefaultLegacyArtifactCollector.java:100)
	at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.collect(DefaultLegacyArtifactCollector.java:782)
	at org.apache.maven.plugin.ide.AbstractIdeSupportMojo.doDependencyResolution(AbstractIdeSupportMojo.java:560)
	at org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java:507)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
{noformat}
                
      was (Author: pdecat):
    Just like [MNG-5367|http://jira.codehaus.org/browse/MNG-5367], it's a deep recursion into
"import" dependencies:
{noformat}
"main" prio=10 tid=0x00007fb7c4008000 nid=0x66fe runnable [0x00007fb7cac7f000]
   java.lang.Thread.State: RUNNABLE
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:120)
	at org.apache.maven.model.building.FileModelSource.getInputStream(FileModelSource.java:55)
	at org.apache.maven.model.building.DefaultModelBuilder.readModel(DefaultModelBuilder.java:456)
	at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:857)
	at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:664)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:310)
	at org.apache.maven.model.building.DefaultModelBuilder.importDependencyManagement(DefaultModelBuilder.java:985)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:400)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:371)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:362)
	at org.apache.maven.model.building.DefaultModelBuilder.importDependencyManagement(DefaultModelBuilder.java:985)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:400)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:371)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:362)
	at org.apache.maven.model.building.DefaultModelBuilder.importDependencyManagement(DefaultModelBuilder.java:985)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:400)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:371)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:362)
	at org.apache.maven.model.building.DefaultModelBuilder.importDependencyManagement(DefaultModelBuilder.java:985)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:400)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:371)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:362)
	at org.apache.maven.model.building.DefaultModelBuilder.importDependencyManagement(DefaultModelBuilder.java:985)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:400)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:371)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:362)
	at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232)
	at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:142)
	at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:309)
	at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:267)
	at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:579)
	at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:192)
	at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.recurse(DefaultLegacyArtifactCollector.java:532)
	at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.recurse(DefaultLegacyArtifactCollector.java:584)
	at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.collect(DefaultLegacyArtifactCollector.java:144)
	at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.collect(DefaultLegacyArtifactCollector.java:100)
	at org.apache.maven.repository.legacy.resolver.DefaultLegacyArtifactCollector.collect(DefaultLegacyArtifactCollector.java:782)
	at org.apache.maven.plugin.ide.AbstractIdeSupportMojo.doDependencyResolution(AbstractIdeSupportMojo.java:560)
	at org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java:507)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
{noformat}
                  
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message