[ https://issues.apache.org/jira/browse/MSHARED-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17603767#comment-17603767 ]
Slawomir Jaranowski commented on MSHARED-1074: ---------------------------------------------- When {{mavenHome}} is set we can try to read {{mavenHome/lib/maven-core-xxx.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties}} > Improvement performance of getMavenVersion in ForkedLauncher > ------------------------------------------------------------ > > Key: MSHARED-1074 > URL: https://issues.apache.org/jira/browse/MSHARED-1074 > Project: Maven Shared Components > Issue Type: Bug > Components: maven-verifier > Reporter: Slawomir Jaranowski > Priority: Major > Fix For: maven-verifier-next-release > > > 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. > There is also possibility to use Maven wrapper for executing - in this case > we can read version form maven-wrapper.properties -- This message was sent by Atlassian Jira (v8.20.10#820010)