maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MNG-5999) MVN.CMD fails on windows if current directory contains an "&"
Date Thu, 14 Apr 2016 17:40:25 GMT

     [ https://issues.apache.org/jira/browse/MNG-5999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Osipov updated MNG-5999:
--------------------------------
    Fix Version/s:     (was: 3.3.10)

> MVN.CMD fails on windows if current directory contains an "&"
> -------------------------------------------------------------
>
>                 Key: MNG-5999
>                 URL: https://issues.apache.org/jira/browse/MNG-5999
>             Project: Maven
>          Issue Type: Bug
>          Components: Command Line
>    Affects Versions: 3.3.9
>            Reporter: Brad Daniels
>            Priority: Minor
>
> On any version of Windows, copy any valid maven project to a directory whose name contains
an ampersand (e.g. "C:\Users\myname\projects & stuff\mavenproject"). CD to the project
directory and run "mvn clean install".
> Expected result:
> Build proceeds normally
> Actual result:
> Build fails with output similar to:
> The system cannot find the path specified.
> The system cannot find the path specified.
> The system cannot find the path specified.
> The system cannot find the path specified.
> 'stuff' is not recognized as an internal or external command,
> operable program or batch file.
> The system cannot find the path specified.
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 0.141 s
> [INFO] Finished at: 2016-04-12T01:41:56+00:00
> [INFO] Final Memory: 6M/58M
> [INFO] ------------------------------------------------------------------------
> [ERROR] The goal you specified requires a project to execute but there is no POM in this
directory (C:\). Please verify you invoked Maven from the correct direc
> tory. -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
>                                                                               



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message