Andreas Sewe created MNG-6191: --------------------------------- Summary: mvn -f complains about illegal readlink option under macOS Key: MNG-6191 URL: https://issues.apache.org/jira/browse/MNG-6191 Project: Maven Issue Type: Bug Components: Command Line Affects Versions: 3.5.0-alpha-1 Environment: Java version: 1.8.0_111, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.10.5", arch: "x86_64", family: "mac" Reporter: Andreas Sewe Priority: Minor
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: {noformat} > mvn clean package -f releng/repository/pom.xml readlink: illegal option -- f usage: readlink [-n] [file ...] usage: dirname path [INFO] Scanning for projects... {noformat} FWIW, I don’t get this error on a normal {{mvn clean package}} without the {{-f}} parameter. -- This message was sent by Atlassian JIRA (v6.3.15#6346)