You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/10/05 06:16:00 UTC
[jira] [Commented] (MSHARED-1150) Support for PowerShell Maven executable
[ https://issues.apache.org/jira/browse/MSHARED-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17612858#comment-17612858 ]
Michael Osipov commented on MSHARED-1150:
-----------------------------------------
Do we really need this? If started from PowerShell I'd expect it to try ps1 first then cmd or exe.
> Support for PowerShell Maven executable
> ---------------------------------------
>
> Key: MSHARED-1150
> URL: https://issues.apache.org/jira/browse/MSHARED-1150
> Project: Maven Shared Components
> Issue Type: New Feature
> Components: maven-invoker
> Reporter: Slawomir Jaranowski
> Priority: Major
> Labels: up-for-grabs
>
> Allow for detecting {{mvn}} executable as {{PowerShell}} script with extension {{.ps1}}
> We need a change in method: {{detectMavenExecutablePerOs}}
> in https://github.com/apache/maven-invoker/blob/master/src/main/java/org/apache/maven/shared/invoker/MavenCommandLineBuilder.java
--
This message was sent by Atlassian Jira
(v8.20.10#820010)