You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (Jira)" <ji...@apache.org> on 2021/04/05 12:53:00 UTC
[jira] [Commented] (MNG-7140) Error "}" was unexpected at this time
(Windows 10)
[ https://issues.apache.org/jira/browse/MNG-7140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17314833#comment-17314833 ]
Robert Scholte commented on MNG-7140:
-------------------------------------
Moved this bug. The Maven Wrapper Plugin only downloads the script, the content of the script is part of Maven.
The space in the path is most likely the cause, these should be quoted in the script.
> Error "}" was unexpected at this time (Windows 10)
> --------------------------------------------------
>
> Key: MNG-7140
> URL: https://issues.apache.org/jira/browse/MNG-7140
> Project: Maven
> Issue Type: Bug
> 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.3.4#803005)