You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2023/01/10 23:31:48 UTC

[GitHub] [maven-mvnd] ppalaga commented on pull request #717: Try native image then fallback to pure java version

ppalaga commented on PR #717:
URL: https://github.com/apache/maven-mvnd/pull/717#issuecomment-1378032665

   I'd dare to vote against making `mvnd` to point at a shell script by default. It is adding indirection and performance penalties on major platforms for which we have proper native executables, thus worsening both the user experience for the majority of users and reliable testability of the default setup.
   
   I'd be open to accepting the following alternatives that I think also satisfy the original original requirement of having a universal single entry mvnd:
   
   1. Enhance the existing shell scripts to fall back to native executables (if available and working on the current platform) without renaming them.
   2. Provide install scripts that replace the native mvnd with a shell script if the native mvnd does not work on or does not match the current platform.
   
   What do others think?


-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org