henningn opened a new issue, #787:
URL: https://github.com/apache/maven-mvnd/issues/787

   I use sdkman and both maven (3.9.0) and mvnd (0.8.2, 0.9.0) are installed.
   If mvnd 0.9.0 is set as default version, the command "mvn --version" shows 
the version 3.8.7.
   If mvnd 0.8.2 is set as default version, the command "mvn --version" shows 
the version 3.9.0 (as expected).
   
   The PATH variable looks like:
   
/Users/henning/.sdkman/candidates/mvnd/current/bin:/Users/henning/.sdkman/candidates/maven/current/bin:...
   
   Since mvnd 0.9.0 the bin-directory contains a 'mvn', which is the first one 
the shell found. So the 'mvn' from the maven bin-directory is not used.
   
   Is this an issue for mvnd or sdkman? I feel like ordering should not matter 
for PATH variables.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to