You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sylwester Lachiewicz (Jira)" <ji...@apache.org> on 2021/02/02 21:46:00 UTC

[jira] [Updated] (MINVOKER-261) Confusing error message

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

Sylwester Lachiewicz updated MINVOKER-261:
------------------------------------------
    Fix Version/s: 3.2.2

> Confusing error message
> -----------------------
>
>                 Key: MINVOKER-261
>                 URL: https://issues.apache.org/jira/browse/MINVOKER-261
>             Project: Maven Invoker Plugin
>          Issue Type: Bug
>            Reporter: Elliotte Rusty Harold
>            Priority: Minor
>             Fix For: 3.2.2
>
>
> It took me a while to figure this one out:
> java.lang.IllegalStateException: ${maven.home} is not specified as a directory: '/Cellar/maven/3.6.0/bin'.
> 	
> Better message:
> ${maven.home} is set to '/Cellar/maven/3.6.0/bin' which does not exist
> or perhaps
> ${maven.home} is set to '/Cellar/maven/3.6.0/bin' which is not a directory



--
This message was sent by Atlassian Jira
(v8.3.4#803005)