[
http://jira.codehaus.org/browse/MSHARED-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vincent Siveton moved MNG-3096 to MSHARED-9:
--------------------------------------------
Affects Version/s: (was: 2.0.7)
(was: 2.0.6)
Fix Version/s: (was: Shared Components)
Component/s: (was: Shared)
maven-invoker
Key: MSHARED-9 (was: MNG-3096)
Project: Maven Shared Components (was: Maven 2)
> invoker doesn't properly handle paths with spaces
> -------------------------------------------------
>
> Key: MSHARED-9
> URL: http://jira.codehaus.org/browse/MSHARED-9
> Project: Maven Shared Components
> Issue Type: Bug
> Components: maven-invoker
> Reporter: Brian Fox
> Assignee: 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