Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6346

... was unexpected at this time when using -f option and path contains brackets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.5.0, 3.5.2
    • 3.6.1
    • Core
    • None
    • Win10 & Win Server 2012
      jdk1.8.0_151

    Description

      Since maven version 3.50 and later when running a simple command with -f option the command fails reporting:
      "\pom.xml was unexpected at this time."

      command:
      mvn -f C:\mmm(example)\pom.xml clean install

      This must be related to changes in 3.5.x since it works as expected with version 3.3.9
      Removing the brackets from the folder name resolves the issue.

      Attachments

        1. mmm(example).zip
          46 kB
          Patrik Jetzer

        Issue Links

          Activity

            People

              slachiewicz Sylwester Lachiewicz
              patrik.jetzer Patrik Jetzer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m