invoker doesn't properly handle paths with spaces
-------------------------------------------------
Key: MNG-3096
URL: http://jira.codehaus.org/browse/MNG-3096
Project: Maven 2
Issue Type: Bug
Components: Shared
Affects Versions: 2.0.7, 2.0.6
Reporter: Brian Fox
In the case of a specified pom with a space in the path, the name isn't
properly escaped. It is likely that other command line options have similar
problems.
if ( !"pom.xml".equals( pom.getName() ) )
{
logger
.debug( "Specified POM file is not named \'pom.xml\'. Using
the \'-f\' command-line option to accommodate non-standard filename..." );
// FIXME: Handle quotes in localRepo directory path...
cli.createArgument().setLine( "-f " + pom.getName() );
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira