[
http://jira.codehaus.org/browse/MNG-3096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Fox closed MNG-3096.
--------------------------
Assignee: Brian Fox
Resolution: Fixed
Fix Version/s: Shared Components
Fixed in invoker 2.0.7
> 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.6, 2.0.7
> Reporter: Brian Fox
> Assignee: Brian Fox
> Fix For: Shared Components
>
>
> 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