Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-9

invoker doesn't properly handle paths with spaces

    XMLWordPrintableJSON

Details

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

      Attachments

        Issue Links

          Activity

            People

              brianf Brian E Fox
              brianf Brian E Fox
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: