Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
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
- relates to
-
MSHARED-1140 Simplify Maven version extraction in the forked launcher
- Open