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 2021/12/31 10:43:00 UTC
[jira] [Commented] (MINVOKER-261) Confusing error message
[ https://issues.apache.org/jira/browse/MINVOKER-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17467220#comment-17467220 ]
Slawomir Jaranowski commented on MINVOKER-261:
----------------------------------------------
Fixed in https://github.com/apache/maven-invoker/commit/246bf9e0ce1fb1dc491e0fc75479638cfae17216
Will be resolved after new version of maven-invoker will be applied to project
> 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
>
> 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)