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/10/04 20:00:00 UTC

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

    [ https://issues.apache.org/jira/browse/MWRAPPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17612775#comment-17612775 ] 

Slawomir Jaranowski commented on MWRAPPER-78:
---------------------------------------------

Good idea especially for {{only-mvnw.cmd}} where more of code is in {{PowerShell}}

> Rewrite mvnw.cmd in PowerShell (mvnw.ps1)
> -----------------------------------------
>
>                 Key: MWRAPPER-78
>                 URL: https://issues.apache.org/jira/browse/MWRAPPER-78
>             Project: Maven Wrapper
>          Issue Type: Improvement
>          Components: Maven Wrapper Scripts
>            Reporter: Jorge Solórzano
>            Priority: Normal
>
> 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)