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-6022) mvn.cmd fails if directory contains an ampersand (&)
Date Fri, 27 Jan 2017 11:05:25 GMT

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

Michael Osipov updated MNG-6022:
--------------------------------
    Fix Version/s:     (was: needing-scrub-3.4.0-fallout)
                   3.5.0

> mvn.cmd fails if directory contains an ampersand (&)
> ----------------------------------------------------
>
>                 Key: MNG-6022
>                 URL: https://issues.apache.org/jira/browse/MNG-6022
>             Project: Maven
>          Issue Type: Bug
>          Components: Command Line
>    Affects Versions: 3.3.9
>            Reporter: Michael Osipov
>            Assignee: Christian Schulte
>             Fix For: 3.5.0
>
>
> Checkout a fresh version of MASSEMBLY trunk, run {{mvn clean install -Prun-its}} and
see the IT {{projects\basic-features\this & that}}. Go to the {{target}} directory of
this IT and run Maven again. It says:
> {noformat}
> D:\Entwicklung\Projekte\maven-assembly-plugin\target\it\projects\basic-features\this
& that>mvn compile
> Der Befehl "that" ist entweder falsch geschrieben oder
> konnte nicht gefunden werden.
> Das System kann den angegebenen Pfad nicht finden.
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 0.060 s
> [INFO] Finished at: 2016-05-15T00:37:27+02:00
> [INFO] Final Memory: 6M/241M
> [INFO] ------------------------------------------------------------------------
> [ERROR] The goal you specified requires a project to execute but there is no POM in this
directory (D:\). Please verify you invoked Maven from the correct directory. -> [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
> D:\Entwicklung\Projekte\maven-assembly-plugin\target\it\projects\basic-features\this
& that>
> {noformat}
> {{EXEC_DIR}} and friends aren't quoted and therefore the ampersand toolks for {{that}}
command.



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

Mime
View raw message