You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jorge Solórzano (Jira)" <ji...@apache.org> on 2022/10/03 09:42:00 UTC

[jira] [Created] (MWRAPPER-78) Rewrite mvnw.cmd in PowerShell (mvnw.ps1)

Jorge Solórzano created MWRAPPER-78:
---------------------------------------

             Summary: Rewrite mvnw.cmd in PowerShell (mvnw.ps1)
                 Key: MWRAPPER-78
                 URL: https://issues.apache.org/jira/browse/MWRAPPER-78
             Project: Maven Wrapper
          Issue Type: Task
          Components: Maven Wrapper Scripts
            Reporter: Jorge Solórzano


More and more features in the Batch script for Windows are requiring PowerShell, one feature is the web client to download the wrapper jar, and the next one will be the sha256sum feature.

Batch scripting is showing its age and even Microsoft doesn't really want to be used anymore, PowerShell 2.0 is integrated with Windows 7 and Windows Server 2008 R2, and is released for Windows XP with Service Pack 3, Windows Server 2003 with Service Pack 2, and Windows Vista with Service Pack 1, it would make sense to migrate the Batch script into PowerShell.

There is even a PowerShell Core version that could be installed on Linux, but I'm not sure about the compatibility with older versions of Windows PowerShell, one goal could be to make it compatible with Windows 7 and higher, but honestly, I'm not sure if we should be supporting an OS that out of support.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)