You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2022/02/24 07:31: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 ]

Slawomir Jaranowski updated MINVOKER-261:
-----------------------------------------
    Fix Version/s: 3.3.0

> 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
>            Assignee: Slawomir Jaranowski
>            Priority: Minor
>             Fix For: 3.3.0
>
>
> 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.20.1#820001)