You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (Jira)" <ji...@apache.org> on 2021/12/30 19:23:00 UTC

[jira] [Commented] (MWRAPPER-48) Error "}" was unexpected at this time (Windows 10)

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

Herve Boutemy commented on MWRAPPER-48:
---------------------------------------

I cannot reproduce any failure like this on my Windows 10

could it be related to older powershell versions? could such a version absolutely require ";" before the "}"?

if you are able to reproduce the issue on your machines, please test this idea and report

> Error "}" was unexpected at this time (Windows 10)
> --------------------------------------------------
>
>                 Key: MWRAPPER-48
>                 URL: https://issues.apache.org/jira/browse/MWRAPPER-48
>             Project: Maven Wrapper
>          Issue Type: Bug
>          Components: Maven Wrapper Scripts
>            Reporter: Valentin Despa
>            Priority: Major
>         Attachments: demo.zip, not-working.png, working.png
>
>
> I have generated a simple project using the Spring Initializr. If I try to run the Maven wrapper from a workspace folder within Jenkins, the following error occurs:
> {{"}" was unexpected at this time}}
> If I copy the project folder and run it from a different location, it works with no issues.
> A similar issue has been reported on Stackoverflow as well: [https://stackoverflow.com/q/62028432/766177]
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)