[ https://issues.apache.org/jira/browse/MNG-6022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Connolly updated MNG-6022: ---------------------------------- Fix Version/s: (was: 3.5.0-alpha-2) > 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: Michael Osipov > Fix For: 3.5.0, 3.5.0-alpha-1 > > > 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.15#6346)