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

mvn -f complains about illegal readlink option under macOS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.0-alpha-1, 3.5.0-beta-1
    • 3.5.0
    • Command Line
    • None

    Description

      This is a regression from Maven 3.3.9. With 3.5.0-alpha-1, using mvn -f under OS X causes the following error to be printed out (similar to MNG-5688), before the command proceeds (AFAICT) without error:

      > mvn clean package -f releng/repository/pom.xml
      readlink: illegal option -- f
      usage: readlink [-n] [file ...]
      usage: dirname path
      [INFO] Scanning for projects...
      

      FWIW, I don’t get this error on a normal mvn clean package without the -f parameter.

      Attachments

        Issue Links

          Activity

            People

              stephenc Stephen Connolly
              sewe Andreas Sewe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: