jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven Shared Components
  • MSHARED-9

invoker doesn't properly handle paths with spaces

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: maven-invoker-2.0.7
  • Component/s: maven-invoker
  • Labels:
    None

Description

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() ); }

Issue Links

is depended upon by

Bug - A problem which impairs or prevents the functions of the product. MECLIPSE-291 tests fail with spaces in the path name

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
relates to

Bug - A problem which impairs or prevents the functions of the product. MSHARED-21 Spaces are incorrectly handled on command line

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brian Fox added a comment - 08/Jul/07 6:09 PM

Fixed in invoker 2.0.7

Show
Brian Fox added a comment - 08/Jul/07 6:09 PM Fixed in invoker 2.0.7

People

  • Assignee:
    Brian Fox
    Reporter:
    Brian Fox
Vote (0)
Watch (0)

Dates

  • Created:
    08/Jul/07 5:18 PM
    Updated:
    08/Jun/08 5:37 AM
    Resolved:
    08/Jul/07 6:09 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.