Hello, i've started building my project with current 2.1-SNAPSHOT trunk and I noticed the build is taking more time than before. I did a bit of profiling. I've executed "mvn install" on a set of 24 projects, all build before, right before the profiling test.
What struck me is that half of the time seems to be spent in DefaultPluginManager.resolveTransitiveDependencies(). See attached picture from netbeans profiler. It was executed 82 times. I suppose the root of the problem will be somewhere much deeper and I guess there's a way to optimize the number of calls to the method as well. After a bit of debugging i figured that for a single project this method is called multiple times during execution. First the "compile" scope is resolved, later "runtime" or "test" eventually (depends on actual plugins bound to the project) Ideally it should be called 24 times max as far as I understand the problem. The BuildPlan should know up front what mojos will be executed and what is the maximum level or dependency resolution for the given project. Agreed? Is that something that I should pursue further or am I on the wrong track? Milos PS: If anyone is interested I can send the actual netbeans profiler dump files for browsing (via private email).
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
