Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-271

Dependency convergence rule is very slow in larger projects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 1.4.1
    • None
    • Standard Rules
    • None

    Description

      I noticed that DependencyConvergence can take up to 10 seconds or even more in modules with almost 300 direct and transitive dependencies (reported by dependency:tree).
      These modules are part of a JEE project based on JBoss EAP 6.4 which imports a couple of EAP BOMs. Unfortunately I am not allowed to share this project.

      I profiled the rule via VisualVM and these are the top 5 hotspots:

      The number of parseVersion calls seems excessive.

      See attached visualvm_settings.xml for reference.

      Attachments

        1. visualvm_settings.PNG
          36 kB
          Falko Modler
        2. visualvm.PNG
          20 kB
          Falko Modler

        Activity

          People

            rfscholte Robert Scholte
            famod Falko Modler
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: