You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2017/03/25 16:17:41 UTC

[jira] [Updated] (MNG-6191) mvn -f complains about illegal readlink option under macOS

     [ https://issues.apache.org/jira/browse/MNG-6191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hervé Boutemy updated MNG-6191:
-------------------------------
    Priority: Major  (was: Minor)

> 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
>             Fix For: 3.5.0
>
>
> 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)