Slawomir Jaranowski opened MSHARED-1074 and commented
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
Issue Links:
- MSHARED-1140 Simplify Maven version extraction in the forked launcher