Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-1074

Improvement performance of getMavenVersion in ForkedLauncher

    XMLWordPrintableJSON

Details

    Description

      In method getMavenVersion in ForkedLauncher new Maven process is forked every time.

      We can cache output by Maven home or try to read from properties files in Maven home /lib/maven-core-xxx.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties

      There is also possibility to use Maven wrapper for executing - in this case we can read version form maven-wrapper.properties

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sjaranowski Slawomir Jaranowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: