Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3543

readProjectWithDependencies take very long time for some projects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0-alpha-3
    • Performance
    • None

    Description

      Invoking readProjectWithDependencies for all modules takes very long time for some projects. For example, for servicemix-3.2.1 it takes about ~300 seconds in online mode and ~90 seconds. I ran the code under profiler, and it seems that in online mode this project is hit by MNG-3531. Both in online and offline mode, however, significant time is spent in DefaultBuildExtensionScanner.scanInternal(File, MavenExecutionRequest, List, List, boolean), so I wonder if there is a way to cache extensions somehow.

      Attachments

        Activity

          People

            jvanzyl Jason van Zyl
            igorf Igor Fedorenko
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: