You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2022/09/13 21:05:00 UTC
[jira] [Comment Edited] (MSHARED-1074) Improvement performance of getMavenVersion in ForkedLauncher
[ https://issues.apache.org/jira/browse/MSHARED-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17603767#comment-17603767 ]
Slawomir Jaranowski edited comment on MSHARED-1074 at 9/13/22 9:04 PM:
-----------------------------------------------------------------------
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}}
instead of execute new process
was (Author: slawekjaranowski):
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)