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

mvn -f complains about illegal readlink option under macOS

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0-alpha-1, 3.5.0-beta-1
    • Fix Version/s: 3.5.0
    • Component/s: Command Line
    • Labels:
      None
    • Environment:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: